fix drivers/ata/sata_fsl.c double-decl
authorakpm@linux-foundation.org <akpm@linux-foundation.org>
Thu, 17 Jan 2008 19:33:52 +0000 (11:33 -0800)
committerJeff Garzik <jeff@garzik.org>
Wed, 23 Jan 2008 10:24:17 +0000 (05:24 -0500)
drivers/ata/sata_fsl.c: In function 'sata_fsl_fill_sg':
drivers/ata/sata_fsl.c:337: error: redeclaration of 'si' with no linkage
drivers/ata/sata_fsl.c:326: error: previous declaration of 'si' was here

Reported-by: Olof Johansson <olof@lixom.net>
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/sata_fsl.c

index d041709dee1afe8bf4e7924c5d9dcb07f8b1a02e..922d7b2efba8cf50b6d2a1b8bb144630474623e1 100644 (file)
@@ -323,7 +323,6 @@ static unsigned int sata_fsl_fill_sg(struct ata_queued_cmd *qc, void *cmd_desc,
        struct scatterlist *sg;
        unsigned int num_prde = 0;
        u32 ttl_dwords = 0;
-       unsigned int si;
 
        /*
         * NOTE : direct & indirect prdt's are contigiously allocated