mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-01 08:46:36 +09:00
Staging: hv: netvsc_drv: Get rid of the unnecessary assignment of ring_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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
aae23986fd
commit
70843a2177
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user