ncr5380: Fix compiler warnings and __setup options
authorFinn Thain <fthain@telegraphics.com.au>
Wed, 12 Nov 2014 05:11:49 +0000 (16:11 +1100)
committerChristoph Hellwig <hch@lst.de>
Thu, 20 Nov 2014 08:11:03 +0000 (09:11 +0100)
commit925e4610933ed8ad047015188186b6d98105b980
tree7303683c98b06b52b8230b726b414efcc531de74
parentacfc8cad9135444fdad5385cd9f795fab469a699
ncr5380: Fix compiler warnings and __setup options

Some __setup() options mentioned in Documentation/scsi don't work because
a few lines of code went missing sometime since Linux 2.4. Fix the options
and thus fix some compiler warnings for both the non-modular case,

    CC      drivers/scsi/dtc.o
drivers/scsi/dtc.c:176:20: warning: 'dtc_setup' defined but not used [-Wunused-function]

and the modular case,

    CC [M]  drivers/scsi/pas16.o
drivers/scsi/pas16.c:335:20: warning: 'pas16_setup' defined but not used [-Wunused-function]
    CC [M]  drivers/scsi/t128.o
drivers/scsi/t128.c:147:20: warning: 't128_setup' defined but not used [-Wunused-function]

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/dtc.c
drivers/scsi/pas16.c
drivers/scsi/t128.c
This page took 0.02681 seconds and 5 git commands to generate.