[PATCH] mmc: dw_mmc: remove unused slot member

Shawn Lin posted 1 patch 1 week, 4 days ago
drivers/mmc/host/dw_mmc.h | 1 -
1 file changed, 1 deletion(-)
[PATCH] mmc: dw_mmc: remove unused slot member
Posted by Shawn Lin 1 week, 4 days ago
struct dw_mci_slot does not exist anymore and nothing ever references
host->slot; the member is a leftover from the multi-slot design this
driver was upstreamed with, where the slot struct lived in the same
header.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
---

 drivers/mmc/host/dw_mmc.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/mmc/host/dw_mmc.h b/drivers/mmc/host/dw_mmc.h
index 12b88e7..f4695a1 100644
--- a/drivers/mmc/host/dw_mmc.h
+++ b/drivers/mmc/host/dw_mmc.h
@@ -216,7 +216,6 @@ struct dw_mci {
 	void			*priv;
 	struct clk		*biu_clk;
 	struct clk		*ciu_clk;
-	struct dw_mci_slot	*slot;
 
 	/* FIFO push and pull */
 	int			fifo_depth;
-- 
2.7.4
Re: [PATCH] mmc: dw_mmc: remove unused slot member
Posted by Ulf Hansson 1 week, 4 days ago
On Mon, Sep 14, 2026 at 3:08 AM Shawn Lin <shawn.lin@rock-chips.com> wrote:
>
> struct dw_mci_slot does not exist anymore and nothing ever references
> host->slot; the member is a leftover from the multi-slot design this
> driver was upstreamed with, where the slot struct lived in the same
> header.
>
> Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>

Applied for next, thanks!

Kind regards
Uffe


> ---
>
>  drivers/mmc/host/dw_mmc.h | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/drivers/mmc/host/dw_mmc.h b/drivers/mmc/host/dw_mmc.h
> index 12b88e7..f4695a1 100644
> --- a/drivers/mmc/host/dw_mmc.h
> +++ b/drivers/mmc/host/dw_mmc.h
> @@ -216,7 +216,6 @@ struct dw_mci {
>         void                    *priv;
>         struct clk              *biu_clk;
>         struct clk              *ciu_clk;
> -       struct dw_mci_slot      *slot;
>
>         /* FIFO push and pull */
>         int                     fifo_depth;
> --
> 2.7.4
>