All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] atm/fore200e: Delete unused 'fore200e_boards'
@ 2024-05-03  0:18 linux
  2024-05-03 10:08 ` Breno Leitao
  2024-05-07  2:00 ` patchwork-bot+netdevbpf
  0 siblings, 2 replies; 3+ messages in thread
From: linux @ 2024-05-03  0:18 UTC (permalink / raw)
  To: 3chas3; +Cc: linux-atm-general, netdev, linux-kernel, Dr. David Alan Gilbert

From: "Dr. David Alan Gilbert" <linux@treblig.org>

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>
---
 drivers/atm/fore200e.c | 3 ---
 drivers/atm/fore200e.h | 1 -
 2 files changed, 4 deletions(-)

diff --git a/drivers/atm/fore200e.c b/drivers/atm/fore200e.c
index 9fb1575f8d883..cb00f8244e411 100644
--- a/drivers/atm/fore200e.c
+++ b/drivers/atm/fore200e.c
@@ -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);
 
diff --git a/drivers/atm/fore200e.h b/drivers/atm/fore200e.h
index caf0ea6a328a8..5d95fe9fd8364 100644
--- a/drivers/atm/fore200e.h
+++ b/drivers/atm/fore200e.h
@@ -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                         */
-- 
2.44.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] atm/fore200e: Delete unused 'fore200e_boards'
  2024-05-03  0:18 [PATCH] atm/fore200e: Delete unused 'fore200e_boards' linux
@ 2024-05-03 10:08 ` Breno Leitao
  2024-05-07  2:00 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: Breno Leitao @ 2024-05-03 10:08 UTC (permalink / raw)
  To: linux; +Cc: 3chas3, linux-atm-general, netdev, linux-kernel

On Fri, May 03, 2024 at 01:18:22AM +0100, linux@treblig.org wrote:
> From: "Dr. David Alan Gilbert" <linux@treblig.org>
> 
> 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>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] atm/fore200e: Delete unused 'fore200e_boards'
  2024-05-03  0:18 [PATCH] atm/fore200e: Delete unused 'fore200e_boards' linux
  2024-05-03 10:08 ` Breno Leitao
@ 2024-05-07  2:00 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2024-05-07  2:00 UTC (permalink / raw)
  To: Dr. David Alan Gilbert; +Cc: 3chas3, linux-atm-general, netdev, linux-kernel

Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Fri,  3 May 2024 01:18:22 +0100 you wrote:
> From: "Dr. David Alan Gilbert" <linux@treblig.org>
> 
> 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!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-05-07  2:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-03  0:18 [PATCH] atm/fore200e: Delete unused 'fore200e_boards' linux
2024-05-03 10:08 ` Breno Leitao
2024-05-07  2:00 ` patchwork-bot+netdevbpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.