From: Harvey Harrison Date: Fri, 28 Mar 2008 21:33:56 +0000 (-0700) Subject: pata_amd: fix sparse warning X-Git-Tag: v2.6.26-rc1~1150^2~57 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9c74fbead08de13e3965e1c6ffe289f24f45479;p=pandora-kernel.git 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 Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed