mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 02:21:52 +09:00
media: saa7134: Remove unnecessary INIT_LIST_HEAD()
The list_head saa7134_devlist is initialized statically. It is unnecessary to initialize by INIT_LIST_HEAD(). Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
7dd0c9e547
commit
d2a0f8d6af
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user