]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SCSI] aic79xx: fix shadowed variables
authorHarvey Harrison <harvey.harrison@gmail.com>
Mon, 22 Sep 2008 21:56:46 +0000 (14:56 -0700)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Thu, 23 Oct 2008 16:42:15 +0000 (11:42 -0500)
commit3ba7f18cd9d974a5b1e75a68a4f0a50f1df8585e
tree91563901fd67211f0028bf97f9eb2362be10ddcd
parent678e80a32fcce02323bbd753ed8944ea92d0a2d5
[SCSI] aic79xx: fix shadowed variables

OK to just reuse the outer declaration as it is never used again.
drivers/scsi/aic7xxx/aic79xx_pci.c:340:12: warning: symbol 'devconfig' shadows an earlier one
drivers/scsi/aic7xxx/aic79xx_pci.c:299:12: originally declared here

targpcistat is always assigned just before use, remove the inner declaration.
drivers/scsi/aic7xxx/aic79xx_pci.c:486:9: warning: symbol 'targpcistat' shadows an earlier one
drivers/scsi/aic7xxx/aic79xx_pci.c:429:9: originally declared here

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/aic7xxx/aic79xx_pci.c