From: Shawn Lin Date: Wed, 26 Nov 2025 00:14:41 +0000 (+0800) Subject: mmc: dw_mmc: Remove unused struct dma_pdata X-Git-Tag: v7.1-rc1~157^2~126 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40dfdd8d1449382cae3db2cefb1f5521ce19259b;p=thirdparty%2Fkernel%2Fstable.git mmc: dw_mmc: Remove unused struct dma_pdata None of the variant drivers pass in dma_pdata, which means it's unused and could be removed. Signed-off-by: Shawn Lin Signed-off-by: Ulf Hansson --- diff --git a/drivers/mmc/host/dw_mmc.h b/drivers/mmc/host/dw_mmc.h index 648b4a5641bf2..b4ceca0167c42 100644 --- a/drivers/mmc/host/dw_mmc.h +++ b/drivers/mmc/host/dw_mmc.h @@ -255,8 +255,6 @@ struct dw_mci_dma_ops { void (*exit)(struct dw_mci *host); }; -struct dma_pdata; - /* Board platform data */ struct dw_mci_board { unsigned int bus_hz; /* Clock speed at the cclk_in pad */ @@ -276,7 +274,6 @@ struct dw_mci_board { struct reset_control *rstc; struct dw_mci_dma_ops *dma_ops; - struct dma_pdata *data; }; /* Support for longer data read timeout */