Skip to contentSkip to conversation

Watchdog: How to get rid of warning ‘esb_pci_tbl’ defined but not used

DISCUSSION Jaswinder Singh Rajput 2 participants 2 messages Feb 27, 2010 – Mar 12, 2010

lore
Share & tools
lore
#0 lore raw

Hello,

Various people pointed this warning but it is still not fixed :

CC drivers/watchdog/i6300esb.o
drivers/watchdog/i6300esb.c:341: warning: ‘esb_pci_tbl’ defined but not used

Is any special reason to keep this warning.

Thanks,
--
Jaswinder.

#1 lore raw

Hello,

Quoted 8 lines

Various people pointed this warning but it is still not fixed :

CC drivers/watchdog/i6300esb.o
drivers/watchdog/i6300esb.c:341: warning: ‘esb_pci_tbl’ defined but not used

Is any special reason to keep this warning.

From the source code:

/*
* Data for PCI driver interface
*
* This data only exists for exporting the supported
* PCI ids via MODULE_DEVICE_TABLE. We do not actually
* register a pci_driver, because someone else might one day
* want to register another driver on the same PCI id. */

I changed the code so that in the next linux release you want have this anymore.

Wim.