diff options
author | akpm@linux-foundation.org <akpm@linux-foundation.org> | 2008-01-17 14:33:52 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2008-01-23 05:24:17 -0500 |
commit | a984f58dd97f22f5113700322fed311a0ee29947 (patch) | |
tree | 0e46d1c0aaf617cb173d76e616c819201b904401 /drivers/ata | |
parent | 7ccd720da3857c21ea893448aaf73620cfe1d27e (diff) |
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.c | 1 |
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, | |||
323 | struct scatterlist *sg; | 323 | struct scatterlist *sg; |
324 | unsigned int num_prde = 0; | 324 | unsigned int num_prde = 0; |
325 | u32 ttl_dwords = 0; | 325 | u32 ttl_dwords = 0; |
326 | unsigned int si; | ||
327 | 326 | ||
328 | /* | 327 | /* |
329 | * NOTE : direct & indirect prdt's are contigiously allocated | 328 | * NOTE : direct & indirect prdt's are contigiously allocated |