Commit 60b4bde48b36c0315ef41fd38c339b9c7e68c46f

Authored by Mauro Carvalho Chehab
1 parent 4d543096ee

V4L/DVB (10118): zoran: fix warning for a variable not used

Fix this warning:

drivers/media/video/zoran/zoran_card.c:156: warning: ‘zr36067_pci_tbl’ defined but not used

Currently, zoran driver relies on a find routine that doesn't use the
pci table.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

Showing 1 changed file with 0 additions and 6 deletions Side-by-side Diff

drivers/media/video/zoran/zoran_card.c
... ... @@ -153,12 +153,6 @@
153 153 MODULE_AUTHOR("Serguei Miridonov");
154 154 MODULE_LICENSE("GPL");
155 155  
156   -static struct pci_device_id zr36067_pci_tbl[] = {
157   - {PCI_VENDOR_ID_ZORAN, PCI_DEVICE_ID_ZORAN_36057,
158   - PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
159   - {0}
160   -};
161   -MODULE_DEVICE_TABLE(pci, zr36067_pci_tbl);
162 156  
163 157 int zoran_num; /* number of Buzs in use */
164 158 struct zoran *zoran[BUZ_MAX];