summaryrefslogtreecommitdiffstats
path: root/drivers/cdrom
diff options
context:
space:
mode:
authorFinn Thain <fthain@telegraphics.com.au>2014-11-12 16:11:57 +1100
committerChristoph Hellwig <hch@lst.de>2014-11-20 09:11:07 +0100
commit270ac2c290ad8b83c92ceeed07aaf49ec5807851 (patch)
tree0dabf1e56da98f3cf1432620702631c6e997309a /drivers/cdrom
parent22f5f10d2dadc50bf26a482b782a5e04f6e9b362 (diff)
downloadop-kernel-dev-270ac2c290ad8b83c92ceeed07aaf49ec5807851.zip
op-kernel-dev-270ac2c290ad8b83c92ceeed07aaf49ec5807851.tar.gz
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/cdrom')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud