xen/blkback: Removing the debug_lvl option.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 11 May 2011 20:21:08 +0000 (16:21 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 12 May 2011 20:43:20 +0000 (16:43 -0400)
It is not really used for anything.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/block/xen-blkback/blkback.c

index 09fe528dd0888faf5ba47b23424c98da26400855..453b51ac737f1bc93a66f952b2ec3fba99d1c117 100644 (file)
@@ -62,9 +62,7 @@ MODULE_PARM_DESC(reqs, "Number of blkback requests to allocate");
 
 /* 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 @@ int xen_blkif_schedule(void *arg)
 
        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 @@ int xen_blkif_schedule(void *arg)
 
        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);