Skip to content

Commit

Permalink
xen/blkback: Removing the debug_lvl option.
Browse files Browse the repository at this point in the history
It is not really used for anything.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
  • Loading branch information
Konrad Rzeszutek Wilk committed May 12, 2011
1 parent 22b20f2 commit 72468bf
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions drivers/block/xen-blkback/blkback.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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;
Expand All @@ -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);
Expand Down

0 comments on commit 72468bf

Please sign in to comment.