public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] gpib: remove unused dead pnp device table code
@ 2026-05-03 21:18 NotiLo-A
  0 siblings, 0 replies; only message in thread
From: NotiLo-A @ 2026-05-03 21:18 UTC (permalink / raw)
  To: dpenkler; +Cc: linux-kernel, NotiLo-A

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 <danikrads@gmail.com>
---
 drivers/gpib/hp_82341/hp_82341.c    | 9 ---------
 drivers/gpib/tnt4882/tnt4882_gpib.c | 9 ---------
 2 files changed, 18 deletions(-)

diff --git a/drivers/gpib/hp_82341/hp_82341.c b/drivers/gpib/hp_82341/hp_82341.c
index 46175ba2a..ed8dcc269 100644
--- a/drivers/gpib/hp_82341/hp_82341.c
+++ b/drivers/gpib/hp_82341/hp_82341.c
@@ -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;
diff --git a/drivers/gpib/tnt4882/tnt4882_gpib.c b/drivers/gpib/tnt4882/tnt4882_gpib.c
index 51a920e1d..f79f06ab6 100644
--- a/drivers/gpib/tnt4882/tnt4882_gpib.c
+++ b/drivers/gpib/tnt4882/tnt4882_gpib.c
@@ -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;
-- 
2.54.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-05-03 21:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-03 21:18 [PATCH] gpib: remove unused dead pnp device table code NotiLo-A

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox