]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Staging: hv: remove vmbus_loglevel as it is not used at all anymore
authorGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 Oct 2011 15:27:48 +0000 (09:27 -0600)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 Oct 2011 15:51:21 +0000 (09:51 -0600)
As there is no user of this variable, it's time to delete it.  For
dynamic debugging of the hyperv code, use the standard dynamic debug
kernel interface.

Cc: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/hv/vmbus_drv.c
include/linux/hyperv.h

index bb9f20507d77b06a1257d48db311d3acf262766f..e648571a5b05dbd8de2efd37c195e11c2ca47eea 100644 (file)
@@ -41,10 +41,6 @@ static struct acpi_device  *hv_acpi_dev;
 
 static struct tasklet_struct msg_dpc;
 static struct tasklet_struct event_dpc;
-
-unsigned int vmbus_loglevel = (ALL_MODULES << 16 | INFO_LVL);
-EXPORT_SYMBOL(vmbus_loglevel);
-
 static struct completion probe_event;
 static int irq;
 
@@ -767,6 +763,5 @@ cleanup:
 
 MODULE_LICENSE("GPL");
 MODULE_VERSION(HV_DRV_VERSION);
-module_param(vmbus_loglevel, int, S_IRUGO|S_IWUSR);
 
 module_init(hv_acpi_init);
index 4fa32ec43aa464f6ae87c0633e3e30fe52b4e402..7211e2ce24f58df3aef710e831a8d44e29ef22d4 100644 (file)
@@ -720,11 +720,6 @@ extern void vmbus_ontimer(unsigned long data);
                                                        INPUTVSC_DRV|\
                                                        BLKVSC_DRV)
 
-/* Logging Level */
-#define INFO_LVL                               6
-
-extern unsigned int vmbus_loglevel;
-
 struct hv_driver;
 struct hv_device;