diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-03-28 22:33:56 +0100 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-04-17 21:44:18 +0200 |
commit | d9c74fbead08de13e3965e1c6ffe289f24f45479 (patch) | |
tree | 95c3e8e4f33b6a00858afeb10b6a8344fb5d838d /drivers/ata/sata_nv.c | |
parent | libata: kill ata_chk_status() (diff) | |
download | linux-d9c74fbead08de13e3965e1c6ffe289f24f45479.tar.xz linux-d9c74fbead08de13e3965e1c6ffe289f24f45479.zip |
pata_amd: fix sparse warning
Current code is essentially choosing between dividing by 1 or
dividing by two, make the conditions a little more obvious.
As a bonus, removes a sparse error:
drivers/ata/pata_amd.c:59:11: warning: symbol '__x' shadows an earlier one
drivers/ata/pata_amd.c:59:11: originally declared here
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/sata_nv.c')
0 files changed, 0 insertions, 0 deletions