• Vinod Koul's avatar
    ASoC: hdac_hdmi: remove unused 'dai_map' · d56923da
    Vinod Koul authored
    In hdac_hdmi_playback_cleanup(), a variable 'dai_map' is initialized but not
    used. Also while removing this two mare variables 'edev' and 'hdmi' become
    unused, so remove all these as well.
    
    sound/soc/codecs/hdac_hdmi.c: In function ‘hdac_hdmi_playback_cleanup’:
    sound/soc/codecs/hdac_hdmi.c:470:32: warning: variable ‘dai_map’ set but not used [-Wunused-but-set-variable]
      struct hdac_hdmi_dai_pin_map *dai_map;
    Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
    Signed-off-by: default avatarMark Brown <broonie@kernel.org>
    d56923da
hdac_hdmi.c 46.5 KB