2024-05-23 20:49:51

by Dr. David Alan Gilbert

[permalink] [raw]
Subject: [PATCH] mcb: remove unused struct 'mcb_parse_priv'

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

'mcb_parse_priv' has been unused since the initial
commit 3764e82e5150 ("drivers: Introduce MEN Chameleon Bus").

Remove it.

Signed-off-by: Dr. David Alan Gilbert <[email protected]>
---
drivers/mcb/mcb-parse.c | 5 -----
1 file changed, 5 deletions(-)

diff --git a/drivers/mcb/mcb-parse.c b/drivers/mcb/mcb-parse.c
index 1ae37e693de0..a5f8ab9a0910 100644
--- a/drivers/mcb/mcb-parse.c
+++ b/drivers/mcb/mcb-parse.c
@@ -8,11 +8,6 @@

#include "mcb-internal.h"

-struct mcb_parse_priv {
- phys_addr_t mapbase;
- void __iomem *base;
-};
-
#define for_each_chameleon_cell(dtype, p) \
for ((dtype) = get_next_dtype((p)); \
(dtype) != CHAMELEON_DTYPE_END; \
--
2.45.1



2024-06-08 20:51:17

by Dr. David Alan Gilbert

[permalink] [raw]
Subject: Re: [PATCH] mcb: remove unused struct 'mcb_parse_priv'

* [email protected] ([email protected]) wrote:
> From: "Dr. David Alan Gilbert" <[email protected]>
>
> 'mcb_parse_priv' has been unused since the initial
> commit 3764e82e5150 ("drivers: Introduce MEN Chameleon Bus").
>
> Remove it.
>
> Signed-off-by: Dr. David Alan Gilbert <[email protected]>

Ping

> ---
> drivers/mcb/mcb-parse.c | 5 -----
> 1 file changed, 5 deletions(-)
>
> diff --git a/drivers/mcb/mcb-parse.c b/drivers/mcb/mcb-parse.c
> index 1ae37e693de0..a5f8ab9a0910 100644
> --- a/drivers/mcb/mcb-parse.c
> +++ b/drivers/mcb/mcb-parse.c
> @@ -8,11 +8,6 @@
>
> #include "mcb-internal.h"
>
> -struct mcb_parse_priv {
> - phys_addr_t mapbase;
> - void __iomem *base;
> -};
> -
> #define for_each_chameleon_cell(dtype, p) \
> for ((dtype) = get_next_dtype((p)); \
> (dtype) != CHAMELEON_DTYPE_END; \
> --
> 2.45.1
>
--
-----Open up your eyes, open up your mind, open up your code -------
/ Dr. David Alan Gilbert | Running GNU/Linux | Happy \
\ dave @ treblig.org | | In Hex /
\ _________________________|_____ http://www.treblig.org |_______/

2024-06-10 11:59:25

by Johannes Thumshirn

[permalink] [raw]
Subject: Re: [PATCH] mcb: remove unused struct 'mcb_parse_priv'


On Thu, 23 May 2024 21:49:21 +0100, [email protected] wrote:
> 'mcb_parse_priv' has been unused since the initial
> commit 3764e82e5150 ("drivers: Introduce MEN Chameleon Bus").
>
> Remove it.
>
>

Applied, thanks!

[1/1] mcb: remove unused struct 'mcb_parse_priv'
commit: 1789f119d54ad866fe8bb74657ebedd08b421f77

Best regards,
--
Johannes Thumshirn <[email protected]>