diff options
author | Finn Thain <fthain@telegraphics.com.au> | 2014-11-12 06:11:57 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-11-20 09:11:07 +0100 |
commit | 270ac2c290ad8b83c92ceeed07aaf49ec5807851 (patch) | |
tree | 0dabf1e56da98f3cf1432620702631c6e997309a /drivers/scsi/atari_scsi.c | |
parent | ncr5380: Fix SCSI_IRQ_NONE bugs (diff) | |
download | linux-270ac2c290ad8b83c92ceeed07aaf49ec5807851.tar.xz linux-270ac2c290ad8b83c92ceeed07aaf49ec5807851.zip |
ncr5380: Remove NCR5380_STATS
The NCR5380_STATS option is only enabled by g_NCR5380 yet it adds
clutter to all three core drivers. The atari_NCR5380.c and sun3_NCR5380.c
core drivers have a slightly different implementation of the
NCR5380_STATS option.
Out of all ten NCR5380 drivers, only one of them (g_NCR5380) actually
has the code to report on the collected stats. Aside from being unreadable,
that code seems to be broken because there's no initialization of timebase.
sun3_NCR5380.c and atari_NCR5380.c have the timebase initialization but
lack the code to report the stats.
Remove all of this code to improve readability and reduce divergence
between the three core drivers.
This patch and the next one completely eliminate the PRINTP and ANDP
pre-processor abuse.
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Tested-by: Michael Schmitz <schmitzmic@gmail.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi/atari_scsi.c')
0 files changed, 0 insertions, 0 deletions