summaryrefslogtreecommitdiff
path: root/sound/pci/hda/hda_jack.h
diff options
context:
space:
mode:
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>2020-09-03 00:21:25 +0300
committerTakashi Iwai <tiwai@suse.de>2020-09-03 10:27:00 +0300
commite9bd25885c7f799134534989b9f13c3db5ce6a16 (patch)
tree074ccf47ef1a9cefe6839b99f351fdf645eac7e6 /sound/pci/hda/hda_jack.h
parent5656a7a06f0d5d90025f05c59424eb03d66e0039 (diff)
downloadlinux-e9bd25885c7f799134534989b9f13c3db5ce6a16.tar.xz
ALSA: hda: auto_parser: remove shadowed variable declaration
Fix cppcheck warning: sound/pci/hda/hda_auto_parser.c:353:7: style: Local variable 'i' shadows outer variable [shadowVariable] int i = 0; ^ sound/pci/hda/hda_auto_parser.c:182:6: note: Shadowed declaration int i; ^ sound/pci/hda/hda_auto_parser.c:353:7: note: Shadow variable int i = 0; ^ It's not clear why a new declaration was added, remove and reuse variable declared with larger scope. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20200902212133.30964-11-pierre-louis.bossart@linux.intel.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_jack.h')
0 files changed, 0 insertions, 0 deletions