diff options
author | Christoph Hellwig <hch@lst.de> | 2018-12-12 02:41:24 -0500 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-01-08 21:58:35 -0500 |
commit | 1d978c336ae3067fd136b7238a60e928b922e9e7 (patch) | |
tree | 6554254543150a09b1081b7202dbabac9e6eb103 /drivers/scsi/gdth_proc.c | |
parent | e09c142891a9362b91208f3423961e7d436b540f (diff) |
scsi: gdth: remove dead dma statistics code
This code can't be built into the kernel without editing the source
file and is not generally useful.
[mkp: typo]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/gdth_proc.c')
-rw-r--r-- | drivers/scsi/gdth_proc.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/scsi/gdth_proc.c b/drivers/scsi/gdth_proc.c index 8e77f8fd8641..fc36c49a5334 100644 --- a/drivers/scsi/gdth_proc.c +++ b/drivers/scsi/gdth_proc.c | |||
@@ -229,14 +229,6 @@ int gdth_show_info(struct seq_file *m, struct Scsi_Host *host) | |||
229 | " Serial No.: \t0x%8X\tCache RAM size:\t%d KB\n", | 229 | " Serial No.: \t0x%8X\tCache RAM size:\t%d KB\n", |
230 | ha->binfo.ser_no, ha->binfo.memsize / 1024); | 230 | ha->binfo.ser_no, ha->binfo.memsize / 1024); |
231 | 231 | ||
232 | #ifdef GDTH_DMA_STATISTICS | ||
233 | /* controller statistics */ | ||
234 | seq_puts(m, "\nController Statistics:\n"); | ||
235 | seq_printf(m, | ||
236 | " 32-bit DMA buffer:\t%lu\t64-bit DMA buffer:\t%lu\n", | ||
237 | ha->dma32_cnt, ha->dma64_cnt); | ||
238 | #endif | ||
239 | |||
240 | if (ha->more_proc) { | 232 | if (ha->more_proc) { |
241 | size_t size = max_t(size_t, GDTH_SCRATCH, sizeof(gdth_hget_str)); | 233 | size_t size = max_t(size_t, GDTH_SCRATCH, sizeof(gdth_hget_str)); |
242 | 234 | ||