xen/blkback: Removing the debug_lvl option.
It is not really used for anything.
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
diff --git a/drivers/block/xen-blkback/blkback.c b/drivers/block/xen-blkback/blkback.c
index 09fe528..453b51a 100644
--- a/drivers/block/xen-blkback/blkback.c
+++ b/drivers/block/xen-blkback/blkback.c
@@ -62,9 +62,7 @@
/* Run-time switchable: /sys/module/blkback/parameters/ */
static unsigned int log_stats;
-static unsigned int debug_lvl;
module_param(log_stats, int, 0644);
-module_param(debug_lvl, int, 0644);
/*
* Each outstanding request that we've passed to the lower device layers has a
@@ -269,9 +267,6 @@
xen_blkif_get(blkif);
- if (debug_lvl)
- pr_debug(DRV_PFX "%s: started\n", current->comm);
-
while (!kthread_should_stop()) {
if (try_to_freeze())
continue;
@@ -298,8 +293,6 @@
if (log_stats)
print_stats(blkif);
- if (debug_lvl)
- pr_debug(DRV_PFX "%s: exiting\n", current->comm);
blkif->xenblkd = NULL;
xen_blkif_put(blkif);