Skip to content

Commit 815166b

Browse files
committed
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>
1 parent 1a26430 commit 815166b

2 files changed

Lines changed: 0 additions & 10 deletions

File tree

‎drivers/hv/vmbus_drv.c‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,6 @@ static struct acpi_device *hv_acpi_dev;
4141

4242
static struct tasklet_struct msg_dpc;
4343
static struct tasklet_struct event_dpc;
44-
45-
unsigned int vmbus_loglevel = (ALL_MODULES << 16 | INFO_LVL);
46-
EXPORT_SYMBOL(vmbus_loglevel);
47-
4844
static struct completion probe_event;
4945
static int irq;
5046

@@ -767,6 +763,5 @@ static int __init hv_acpi_init(void)
767763

768764
MODULE_LICENSE("GPL");
769765
MODULE_VERSION(HV_DRV_VERSION);
770-
module_param(vmbus_loglevel, int, S_IRUGO|S_IWUSR);
771766

772767
module_init(hv_acpi_init);

‎include/linux/hyperv.h‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -720,11 +720,6 @@ extern void vmbus_ontimer(unsigned long data);
720720
INPUTVSC_DRV|\
721721
BLKVSC_DRV)
722722

723-
/* Logging Level */
724-
#define INFO_LVL 6
725-
726-
extern unsigned int vmbus_loglevel;
727-
728723
struct hv_driver;
729724
struct hv_device;
730725

0 commit comments

Comments
 (0)