]> git.baikalelectronics.ru Git - kernel.git/commitdiff
mmc: sdhci: Remove unneeded forward declaration of sdhci_finish_data()
authorAdrian Hunter <adrian.hunter@intel.com>
Sun, 12 Apr 2020 09:03:47 +0000 (12:03 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 28 May 2020 09:20:58 +0000 (11:20 +0200)
sdhci_finish_data() is defined before it is referenced, so forward
declaration is not necessary.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Tested-by: Baolin Wang <baolin.wang7@gmail.com>
Link: https://lore.kernel.org/r/20200412090349.1607-4-adrian.hunter@intel.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci.c

index 397dfc4de922044c3f0cddf926e1150de69534c0..e77df59ad1416308ee7b23f400575019e177599c 100644 (file)
@@ -48,8 +48,6 @@
 static unsigned int debug_quirks = 0;
 static unsigned int debug_quirks2;
 
-static void sdhci_finish_data(struct sdhci_host *);
-
 static void sdhci_enable_preset_value(struct sdhci_host *host, bool enable);
 
 static void sdhci_send_command(struct sdhci_host *host, struct mmc_command *cmd);