From: Dimitris Papastamos Date: Mon, 6 Dec 2010 15:49:20 +0000 (+0000) Subject: ASoC: soc-core: Remove useless inline function construct X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0b9a214a606f8c7c7af3e66e7fe0caf3233cfe16;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git ASoC: soc-core: Remove useless inline function construct There is no need to mark this function as inline. Inline functions usually are small and concise functions that benefit from not needing to set up a stack frame and undergo a call/ret sequence upon each invocation. Signed-off-by: Dimitris Papastamos Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index b2c327b14b00..392d33625327 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c @@ -3175,7 +3175,7 @@ static int snd_soc_unregister_card(struct snd_soc_card *card) * Simplify DAI link configuration by removing ".-1" from device names * and sanitizing names. */ -static inline char *fmt_single_name(struct device *dev, int *id) +static char *fmt_single_name(struct device *dev, int *id) { char *found, name[NAME_SIZE]; int id1, id2;