aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/xen-blkback
diff options
context:
space:
mode:
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2011-05-11 16:21:08 -0400
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2011-05-12 16:43:20 -0400
commit72468bfcb815bc9875a870973469f68e20c78717 (patch)
tree605646f216ac51efab27f237b2d865fb131f0b62 /drivers/block/xen-blkback
parent22b20f2dffd09edd66127f2022c26d0039bad88e (diff)
xen/blkback: Removing the debug_lvl option.
It is not really used for anything. Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/block/xen-blkback')
-rw-r--r--drivers/block/xen-blkback/blkback.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/block/xen-blkback/blkback.c b/drivers/block/xen-blkback/blkback.c
index 09fe528dd088..453b51ac737f 100644
--- a/drivers/block/xen-blkback/blkback.c
+++ b/drivers/block/xen-blkback/blkback.c
@@ -62,9 +62,7 @@ MODULE_PARM_DESC(reqs, "Number of blkback requests to allocate");
62 62
63/* Run-time switchable: /sys/module/blkback/parameters/ */ 63/* Run-time switchable: /sys/module/blkback/parameters/ */
64static unsigned int log_stats; 64static unsigned int log_stats;
65static unsigned int debug_lvl;
66module_param(log_stats, int, 0644); 65module_param(log_stats, int, 0644);
67module_param(debug_lvl, int, 0644);
68 66
69/* 67/*
70 * Each outstanding request that we've passed to the lower device layers has a 68 * Each outstanding request that we've passed to the lower device layers has a
@@ -269,9 +267,6 @@ int xen_blkif_schedule(void *arg)
269 267
270 xen_blkif_get(blkif); 268 xen_blkif_get(blkif);
271 269
272 if (debug_lvl)
273 pr_debug(DRV_PFX "%s: started\n", current->comm);
274
275 while (!kthread_should_stop()) { 270 while (!kthread_should_stop()) {
276 if (try_to_freeze()) 271 if (try_to_freeze())
277 continue; 272 continue;
@@ -298,8 +293,6 @@ int xen_blkif_schedule(void *arg)
298 293
299 if (log_stats) 294 if (log_stats)
300 print_stats(blkif); 295 print_stats(blkif);
301 if (debug_lvl)
302 pr_debug(DRV_PFX "%s: exiting\n", current->comm);
303 296
304 blkif->xenblkd = NULL; 297 blkif->xenblkd = NULL;
305 xen_blkif_put(blkif); 298 xen_blkif_put(blkif);