ata: sparse fixes for pata_amd.c
authorHarvey Harrison <harvey.harrison@gmail.com>
Thu, 14 Feb 2008 05:14:20 +0000 (21:14 -0800)
committerJeff Garzik <jeff@garzik.org>
Fri, 15 Feb 2008 18:51:24 +0000 (13:51 -0500)
commitd98f88c222bf56cfa5839930fb0d0af22d1c36bf
tree76edf5c98394afed537474fc5b8b5c5eb248724d
parent1ec414ecc0fe09a610dfafcc6958103a37b7eb0f
ata: sparse fixes for pata_amd.c

drop return statement.
drivers/ata/pata_amd.c:149:2: warning: returning void-valued expression

Commit ce54d1616302117fa98513ae916bb3333e1c02ea pata_amd: update mode selection for NV PATAs

added the initializer for nv_mode_filter but missed deleting the previously
set mode_filter

drivers/ata/pata_amd.c:509:3: warning: Initializer entry defined twice
drivers/ata/pata_amd.c:521:3:   also defined here
drivers/ata/pata_amd.c:544:3: warning: Initializer entry defined twice
drivers/ata/pata_amd.c:556:3:   also defined here

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