Skip to contentSkip to conversation

atm/fore200e: Delete unused 'fore200e_boards'

PATCH Applied [email protected] 3 participants 3 messages May 3, 2024 – May 7, 2024

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 atm/fore200e: Delete unused 'fore200e_boards'

From: "Dr. David Alan Gilbert" <[email protected]>

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.

---
 drivers/atm/fore200e.c | 3 ---
 drivers/atm/fore200e.h | 1 -
 2 files changed, 4 deletions(-)
drivers/atm/fore200e.c +0 -3
index 9fb1575f8d883..cb00f8244e411 100644
@@ -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);
 
drivers/atm/fore200e.h +0 -1
index caf0ea6a328a8..5d95fe9fd8364 100644
@@ -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                         */
Signature · 1 line
2.44.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · On Fri, May 03, 2024 at 01:18:22AM +0100, [email protected] wrote:

From: "Dr. David Alan Gilbert" <[email protected]>

This list looks like it's been unused since the OF conversion in 2008 in

Quoted 7 lines

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

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

Build tested only.

#2 lore raw
In reply to [email protected]
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Quoted 8 lines · On Fri, 3 May 2024 01:18:22 +0100 you wrote:

From: "Dr. David Alan Gilbert" <[email protected]>

This list looks like it's been unused since the OF conversion in 2008 in

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

[...]

Here is the summary with links:
- atm/fore200e: Delete unused 'fore200e_boards'

    https://git.kernel.org/netdev/net-next/c/ad3c9f0e6292

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html