gpib: remove unused dead pnp device table code
PATCH 1/1 gpib: remove unused dead pnp device table code
Remove #if 0 blocks containing unused pnp_device_id tables in hp_82341 and tnt4882 drivers. The code was disabled since introduction with a comment indicating future use that never materialized.
Signed-off-by NotiLo-A <[email protected]>
--- drivers/gpib/hp_82341/hp_82341.c | 9 --------- drivers/gpib/tnt4882/tnt4882_gpib.c | 9 --------- 2 files changed, 18 deletions(-)
drivers/gpib/hp_82341/hp_82341.c +0 -9
@@ -800,15 +800,6 @@ static void hp_82341_detach(struct gpib_board *board)hp_82341_free_private (board); } -#if 0 -/* unused, will be needed when the driver is turned into a pnp_driver */ -static const struct pnp_device_id hp_82341_pnp_table[] = { - {.id ="HWP1411" }, - {.id ="" } -}; -MODULE_DEVICE_TABLE (pnp, hp_82341_pnp_table); -#endif -static int __init hp_82341_init_module (void ) {int ret;
drivers/gpib/tnt4882/tnt4882_gpib.c +0 -9
@@ -1370,15 +1370,6 @@ static struct pci_driver tnt4882_pci_driver = { .probe = &tnt4882_pci_probe }; -#if 0 -/* unused, will be needed when the driver is turned into a pnp_driver */ -static const struct pnp_device_id tnt4882_pnp_table[] = { - {.id ="NICC601" }, - {.id ="" } -}; -MODULE_DEVICE_TABLE (pnp, tnt4882_pnp_table); -#endif -#ifdef CONFIG_GPIB_PCMCIA static struct gpib_interface ni_pcmcia_interface;static struct gpib_interface ni_pcmcia_accel_interface;
Signature · 1 line
2.54.0