Skip to content

Commit

Permalink
hv: pass integer to tasklet_init()
Browse files Browse the repository at this point in the history
tasklet_init() takes an integer, so use one right away.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Olaf Hering authored and Greg Kroah-Hartman committed Apr 20, 2011
1 parent 3543648 commit 8fea191
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions drivers/staging/hv/vmbus_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -578,10 +578,8 @@ static int vmbus_bus_init(struct pci_dev *pdev)
hv_bus.bus.name = driver_name;

/* Initialize the bus context */
tasklet_init(&hv_bus.msg_dpc, vmbus_on_msg_dpc,
(unsigned long)NULL);
tasklet_init(&hv_bus.event_dpc, vmbus_on_event,
(unsigned long)NULL);
tasklet_init(&hv_bus.msg_dpc, vmbus_on_msg_dpc, 0);
tasklet_init(&hv_bus.event_dpc, vmbus_on_event, 0);

/* Now, register the bus with LDM */
ret = bus_register(&hv_bus.bus);
Expand Down

0 comments on commit 8fea191

Please sign in to comment.