summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorakpm@linux-foundation.org2008-01-17 20:33:52 +0100
committerJeff Garzik2008-01-23 11:24:17 +0100
commita984f58dd97f22f5113700322fed311a0ee29947 (patch)
tree0e46d1c0aaf617cb173d76e616c819201b904401 /drivers
parent[libata] Prefer SCSI_SENSE_BUFFERSIZE to sizeof() (diff)
downloadkernel-qcow2-linux-a984f58dd97f22f5113700322fed311a0ee29947.tar.gz
kernel-qcow2-linux-a984f58dd97f22f5113700322fed311a0ee29947.tar.xz
kernel-qcow2-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')
-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