• Kuninori Morimoto's avatar
    ASoC: rsnd: cleanup ppcheck warning for ssiu.c · 929cc782
    Kuninori Morimoto authored
    This patch cleanups below ppcheck warning.
    
    sound/soc/sh/rcar/ssiu.c:212:10: style: The scope of the variable 'shift' can be reduced. [variableScope]
      int i, shift;
             ^
    sound/soc/sh/rcar/ssiu.c:337:19: style: The scope of the variable 'mod' can be reduced. [variableScope]
     struct rsnd_mod *mod;
                      ^
    sound/soc/sh/rcar/ssiu.c:362:22: style: The scope of the variable 'np' can be reduced. [variableScope]
     struct device_node *np;
                         ^
    sound/soc/sh/rcar/ssiu.c:363:19: style: The scope of the variable 'mod' can be reduced. [variableScope]
     struct rsnd_mod *mod;
                      ^
    sound/soc/sh/rcar/ssiu.c:366:6: style: The scope of the variable 'i' can be reduced. [variableScope]
     int i;
         ^
    sound/soc/sh/rcar/ssiu.c:397:13: style: The scope of the variable 'ret' can be reduced. [variableScope]
     int i, nr, ret;
                ^
    Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Link: https://lore.kernel.org/r/87lfbdro2p.wl-kuninori.morimoto.gx@renesas.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
    929cc782
ssiu.c 10.2 KB