]> git.dujemihanovic.xyz Git - linux.git/commitdiff
atm/fore200e: Delete unused 'fore200e_boards'
authorDr. David Alan Gilbert <linux@treblig.org>
Fri, 3 May 2024 00:18:22 +0000 (01:18 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 7 May 2024 01:26:47 +0000 (18:26 -0700)
This list looks like it's been unused since the OF conversion in
2008 in

commit 826b6cfcd5d4 ("fore200e: Convert over to pure OF driver.")

This also means we can remove the 'entry' member for the list.

Build tested only.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Reviewed-by: Breno Leitao <leitao@debian.org>
Link: https://lore.kernel.org/r/20240503001822.183061-1-linux@treblig.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/atm/fore200e.c
drivers/atm/fore200e.h

index 9fb1575f8d88353a6d18b76b33714f0456ed26ce..cb00f8244e4110b8bf0170ea6b2dc57d2bcc7e36 100644 (file)
@@ -94,9 +94,6 @@
 
 static const struct atmdev_ops   fore200e_ops;
 
-static LIST_HEAD(fore200e_boards);
-
-
 MODULE_AUTHOR("Christophe Lizzi - credits to Uwe Dannowski and Heikki Vatiainen");
 MODULE_DESCRIPTION("FORE Systems 200E-series ATM driver - version " FORE200E_VERSION);
 
index caf0ea6a328a82a01dd18a96d9284fbbd79475b4..5d95fe9fd8364c251def05cc82329996812546d7 100644 (file)
@@ -830,7 +830,6 @@ typedef struct fore200e_vc_map {
 /* per-device data */
 
 typedef struct fore200e {
-    struct       list_head     entry;                  /* next device                        */
     const struct fore200e_bus* bus;                    /* bus-dependent code and data        */
     union        fore200e_regs regs;                   /* bus-dependent registers            */
     struct       atm_dev*      atm_dev;                /* ATM device                         */