summaryrefslogtreecommitdiffstats
path: root/drivers/block
diff options
context:
space:
mode:
authorStephen M. Cameron <scameron@beardog.cce.hp.com>2009-09-17 20:47:55 +0200
committerJens Axboe <jens.axboe@oracle.com>2009-10-01 21:15:43 +0200
commit983333cb0c445c56808502461bbb34876c63eb2b (patch)
tree3d2f43c3943a7cff47a14491f98dc0e1af1a005b /drivers/block
parentcciss: Fix excessive gendisk freeing bug on driver unload. (diff)
downloadlinux-983333cb0c445c56808502461bbb34876c63eb2b.tar.xz
linux-983333cb0c445c56808502461bbb34876c63eb2b.zip
cciss: Silence noisy per-disk messages output by cciss_read_capacity
Silence noisy per-disk messages output by cciss_read_capacity Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'drivers/block')
-rw-r--r--drivers/block/cciss.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c
index 3a6ca7de4c93..67c4899ce9ea 100644
--- a/drivers/block/cciss.c
+++ b/drivers/block/cciss.c
@@ -2602,8 +2602,6 @@ static void cciss_geometry_inquiry(int ctlr, int logvol,
} else { /* Get geometry failed */
printk(KERN_WARNING "cciss: reading geometry failed\n");
}
- printk(KERN_INFO " heads=%d, sectors=%d, cylinders=%d\n\n",
- drv->heads, drv->sectors, drv->cylinders);
}
static void
@@ -2637,9 +2635,6 @@ cciss_read_capacity(int ctlr, int logvol, int withirq, sector_t *total_size,
*total_size = 0;
*block_size = BLOCK_SIZE;
}
- if (*total_size != 0)
- printk(KERN_INFO " blocks= %llu block_size= %d\n",
- (unsigned long long)*total_size+1, *block_size);
kfree(buf);
}