]> err.no Git - linux-2.6/commit
[ALSA] sound: fm801.c fix shadowed variable warning
authorHarvey Harrison <harvey.harrison@gmail.com>
Thu, 28 Feb 2008 10:55:07 +0000 (11:55 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 24 Apr 2008 10:00:16 +0000 (12:00 +0200)
commit58e4334e82c0f4eb0147a905a127bd14f0ea0a2d
tree156f86e3cf7438c89be548737f9cacb01ee0ae91
parent3463d8fa14ba2e00ede9894efdaa65189eb04b36
[ALSA] sound: fm801.c fix shadowed variable warning

id was only used as a counter in a for loop, move the declaration
to where it is used and change it to i.
sound/pci/fm801.c:1288:6: warning: symbol 'id' shadows an earlier one
sound/pci/fm801.c:51:13: originally declared here

[tiwai - fixed a coding style issue as well]

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/fm801.c