summaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
authorakpm@linux-foundation.org <akpm@linux-foundation.org>2008-01-17 11:33:52 -0800
committerJeff Garzik <jeff@garzik.org>2008-01-23 05:24:17 -0500
commita984f58dd97f22f5113700322fed311a0ee29947 (patch)
tree0e46d1c0aaf617cb173d76e616c819201b904401 /drivers/ata
parent7ccd720da3857c21ea893448aaf73620cfe1d27e (diff)
downloadlinux-a984f58dd97f22f5113700322fed311a0ee29947.tar.gz
linux-a984f58dd97f22f5113700322fed311a0ee29947.tar.bz2
linux-a984f58dd97f22f5113700322fed311a0ee29947.zip
fix drivers/ata/sata_fsl.c double-decl
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>
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/sata_fsl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ata/sata_fsl.c b/drivers/ata/sata_fsl.c
index d041709dee1a..922d7b2efba8 100644
--- a/drivers/ata/sata_fsl.c
+++ b/drivers/ata/sata_fsl.c
@@ -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