Skip to content
  • Harvey Harrison's avatar
    ata: sparse fixes for pata_amd.c · d98f88c2
    Harvey Harrison authored
    drop return statement.
    drivers/ata/pata_amd.c:149:2: warning: returning void-valued expression
    
    Commit ce54d161
    
     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: default avatarHarvey Harrison <harvey.harrison@gmail.com>
    Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
    d98f88c2