• F
    ncr5380: Remove more useless prototypes · 4d3d2a54
    Finn Thain 提交于
    Make use of the host template static initializer instead of assigning
    handlers at run-time. Move __maybe_unused qualifiers from declarations
    to definitions. Move the atari_scsi_bus_reset() wrapper after the
    definition of NCR5380_bus_reset(). All of the host template handler
    prototypes are now redundant so remove them.
    
    The write_info() handler is only relevant to drivers using PSEUDO_DMA so
    this patch fixes the compiler warning in atari_NCR5380.c and sun3_NCR5380.c:
    
      CC      drivers/scsi/atari_scsi.o
      drivers/scsi/NCR5380.h:329: warning: 'NCR5380_write_info' declared 'static' but never defined
    Signed-off-by: NFinn Thain <fthain@telegraphics.com.au>
    Tested-by: NMichael Schmitz <schmitzmic@gmail.com>
    Reviewed-by: NHannes Reinecke <hare@suse.de>
    Signed-off-by: NChristoph Hellwig <hch@lst.de>
    4d3d2a54
pas16.c 17.8 KB