Skip to content

Commit

Permalink
Staging: hv: vmbus: Cleanup unnecessary comments in hv.c
Browse files Browse the repository at this point in the history
Cleanup unnecessary comments in hv.c.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed Aug 25, 2011
1 parent 94a66c9 commit ffca7c4
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions drivers/staging/hv/hv.c
Original file line number Diff line number Diff line change
Expand Up @@ -164,11 +164,7 @@ int hv_init(void)
goto cleanup;

max_leaf = query_hypervisor_info();
/* HvQueryHypervisorFeatures(maxLeaf); */

/*
* We only support running on top of Hyper-V
*/
rdmsrl(HV_X64_MSR_GUEST_OS_ID, hv_context.guestid);

if (hv_context.guestid != 0)
Expand All @@ -181,10 +177,6 @@ int hv_init(void)
/* See if the hypercall page is already set */
rdmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64);

/*
* Allocate the hypercall page memory
* virtaddr = osd_page_alloc(1);
*/
virtaddr = __vmalloc(PAGE_SIZE, GFP_KERNEL, PAGE_KERNEL_EXEC);

if (!virtaddr)
Expand Down

0 comments on commit ffca7c4

Please sign in to comment.