Skip to content

Commit

Permalink
Staging: hv: remove gDriver variable
Browse files Browse the repository at this point in the history
It's only set and never used anymore, so remove it.

Gotta love static variables with a "global" hungarian notatation on the
name...

Cc: Haiyang Zhang <haiyangz@microsoft.com>
Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Greg Kroah-Hartman committed Dec 2, 2010
1 parent 6c88455 commit 0bdb250
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/staging/hv/vmbus_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ static const struct hv_guid gVmbusDeviceId = {
}
};

static struct hv_driver *gDriver; /* vmbus driver object */
static struct hv_device *gDevice; /* vmbus root device */

/*
Expand Down Expand Up @@ -326,8 +325,6 @@ static int VmbusInitialize(struct hv_driver *driver)
if (ret != 0)
DPRINT_ERR(VMBUS, "Unable to initialize the hypervisor - 0x%x",
ret);
gDriver = driver;

return ret;
}

Expand Down

0 comments on commit 0bdb250

Please sign in to comment.