Since we pass ring size information differently, this assignment is not needed. Signed-off-by: K. Y. Srinivasan <kys@xxxxxxxxxxxxx> Signed-off-by: Haiyang Zhang <haiyangz@xxxxxxxxxxxxx> Signed-off-by: Abhishek Kane <v-abkane@xxxxxxxxxxxxx> Signed-off-by: Hank Janssen <hjanssen@xxxxxxxxxxxxx> --- drivers/staging/hv/netvsc_drv.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/drivers/staging/hv/netvsc_drv.c b/drivers/staging/hv/netvsc_drv.c index 6463f32..950a456 100644 --- a/drivers/staging/hv/netvsc_drv.c +++ b/drivers/staging/hv/netvsc_drv.c @@ -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); -- 1.7.4.1 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel