]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ata: fix sparse warning in libata-core.c
authorHarvey Harrison <harvey.harrison@gmail.com>
Thu, 14 Feb 2008 18:45:23 +0000 (10:45 -0800)
committerJeff Garzik <jeff@garzik.org>
Fri, 15 Feb 2008 18:50:56 +0000 (13:50 -0500)
commiteeb37ac87459f8e86d53243bd97e0c086de7eb87
tree798c9d04e2d3303cc5d12b64a1b8a13a0f317aad
parent08f01058fe8fcf0d4d69d96d667c51d52859b31d
ata: fix sparse warning in libata-core.c

rc is used to test the return value and possibly return an error.
No need to redeclare inside the loop.

drivers/ata/libata-core.c:7089:7: warning: symbol 'rc' shadows an earlier one
drivers/ata/libata-core.c:7030:9: originally declared here

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-core.c