Skip to content

Commit

Permalink
Staging: hv: netvsc_drv: Get rid of the unnecessary assignment of rin…
Browse files Browse the repository at this point in the history
…g_buf_size

Since we pass ring size information differently, this assignment is
not needed.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com>
Signed-off-by: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed May 17, 2011
1 parent aae2398 commit 70843a2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/staging/hv/netvsc_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -444,8 +444,6 @@ static int netvsc_drv_init(int (*drv_init)(struct hv_driver *drv))
struct hv_driver *drv = &netvsc_drv.base;
int ret;

net_drv_obj->ring_buf_size = ring_size * PAGE_SIZE;

/* Callback to client driver to complete the initialization */
drv_init(&net_drv_obj->base);

Expand Down

0 comments on commit 70843a2

Please sign in to comment.