2024-05-03 00:18:53

by Dr. David Alan Gilbert

[permalink] [raw]
Subject: [PATCH] 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.

Signed-off-by: Dr. David Alan Gilbert <[email protected]>
---
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



2024-05-03 10:08:51

by Breno Leitao

[permalink] [raw]
Subject: Re: [PATCH] atm/fore200e: Delete unused 'fore200e_boards'

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
>
> 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 <[email protected]>

Reviewed-by: Breno Leitao <[email protected]>

2024-05-07 02:00:45

by patchwork-bot+netdevbpf

[permalink] [raw]
Subject: Re: [PATCH] atm/fore200e: Delete unused 'fore200e_boards'

Hello:

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

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!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html