Commit 0b9a214a authored by Dimitris Papastamos's avatar Dimitris Papastamos Committed by Mark Brown

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: default avatarDimitris Papastamos <dp@opensource.wolfsonmicro.com>
Acked-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 58818a77
...@@ -3175,7 +3175,7 @@ static int snd_soc_unregister_card(struct snd_soc_card *card) ...@@ -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 * Simplify DAI link configuration by removing ".-1" from device names
* and sanitizing 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]; char *found, name[NAME_SIZE];
int id1, id2; int id1, id2;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment