This is an automatic generated email to let you know that the following patch 
were queued:

Subject: media: saa7134: Remove unnecessary INIT_LIST_HEAD()
Author:  Yang Yingliang <[email protected]>
Date:    Tue May 11 13:55:24 2021 +0200

The list_head saa7134_devlist is initialized statically.
It is unnecessary to initialize by INIT_LIST_HEAD().

Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Yang Yingliang <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>

 drivers/media/pci/saa7134/saa7134-core.c | 1 -
 1 file changed, 1 deletion(-)

---

diff --git a/drivers/media/pci/saa7134/saa7134-core.c 
b/drivers/media/pci/saa7134/saa7134-core.c
index efb757d5168a..ec8dd41f9ebb 100644
--- a/drivers/media/pci/saa7134/saa7134-core.c
+++ b/drivers/media/pci/saa7134/saa7134-core.c
@@ -1524,7 +1524,6 @@ static struct pci_driver saa7134_pci_driver = {
 
 static int __init saa7134_init(void)
 {
-       INIT_LIST_HEAD(&saa7134_devlist);
        pr_info("saa7130/34: v4l2 driver version %s loaded\n",
               SAA7134_VERSION);
        return pci_register_driver(&saa7134_pci_driver);

_______________________________________________
linuxtv-commits mailing list
[email protected]
https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to