diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2020-01-21 19:58:58 +0900 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2020-01-24 12:14:31 +0100 |
commit | 1d45a3f47c0be28989cdbace166e4f73214ff88c (patch) | |
tree | 61317c4825798abb18f9c712f5a58450295a0d7d /drivers/mmc | |
parent | c389b0035f0cda5f59f2514303feb9586b6f493a (diff) | |
download | linux-1d45a3f47c0be28989cdbace166e4f73214ff88c.tar.gz linux-1d45a3f47c0be28989cdbace166e4f73214ff88c.tar.bz2 linux-1d45a3f47c0be28989cdbace166e4f73214ff88c.zip |
mmc: sdhci-cadence: remove unneeded 'inline' marker
'static inline' in .c files does not make much sense because
functions may or may not be inlined irrespective of the 'inline'
marker. It is just a hint.
This function is quite small, so very likely to be inlined by the
compiler's optimization (-O2 or -Os), but it is up to the compiler
after all.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20200121105858.13325-1-yamada.masahiro@socionext.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/sdhci-cadence.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci-cadence.c b/drivers/mmc/host/sdhci-cadence.c index ae0ec27dd7cc..5827d3751b81 100644 --- a/drivers/mmc/host/sdhci-cadence.c +++ b/drivers/mmc/host/sdhci-cadence.c @@ -158,7 +158,7 @@ static int sdhci_cdns_phy_init(struct sdhci_cdns_priv *priv) return 0; } -static inline void *sdhci_cdns_priv(struct sdhci_host *host) +static void *sdhci_cdns_priv(struct sdhci_host *host) { struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); |