aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2011-10-11 11:27:48 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2011-10-11 11:51:21 -0400
commit815166b95df1acb4890e9dbdb26660e9c00a7505 (patch)
treee53785a6e5ae3d48ae0d0a80770977a27e47f175
parent1a2643012fa2262e823b7f11d9732b7fea4c25ce (diff)
Staging: hv: remove vmbus_loglevel as it is not used at all anymore
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>
-rw-r--r--drivers/hv/vmbus_drv.c5
-rw-r--r--include/linux/hyperv.h5
2 files changed, 0 insertions, 10 deletions
diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_drv.c
index bb9f20507d7..e648571a5b0 100644
--- a/drivers/hv/vmbus_drv.c
+++ b/drivers/hv/vmbus_drv.c
@@ -41,10 +41,6 @@ static struct acpi_device *hv_acpi_dev;
41 41
42static struct tasklet_struct msg_dpc; 42static struct tasklet_struct msg_dpc;
43static struct tasklet_struct event_dpc; 43static struct tasklet_struct event_dpc;
44
45unsigned int vmbus_loglevel = (ALL_MODULES << 16 | INFO_LVL);
46EXPORT_SYMBOL(vmbus_loglevel);
47
48static struct completion probe_event; 44static struct completion probe_event;
49static int irq; 45static int irq;
50 46
@@ -767,6 +763,5 @@ cleanup:
767 763
768MODULE_LICENSE("GPL"); 764MODULE_LICENSE("GPL");
769MODULE_VERSION(HV_DRV_VERSION); 765MODULE_VERSION(HV_DRV_VERSION);
770module_param(vmbus_loglevel, int, S_IRUGO|S_IWUSR);
771 766
772module_init(hv_acpi_init); 767module_init(hv_acpi_init);
diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h
index 4fa32ec43aa..7211e2ce24f 100644
--- a/include/linux/hyperv.h
+++ b/include/linux/hyperv.h
@@ -720,11 +720,6 @@ extern void vmbus_ontimer(unsigned long data);
720 INPUTVSC_DRV|\ 720 INPUTVSC_DRV|\
721 BLKVSC_DRV) 721 BLKVSC_DRV)
722 722
723/* Logging Level */
724#define INFO_LVL 6
725
726extern unsigned int vmbus_loglevel;
727
728struct hv_driver; 723struct hv_driver;
729struct hv_device; 724struct hv_device;
730 725