From: K. Y. Srinivasan Date: Fri, 13 May 2011 02:35:06 +0000 (-0700) Subject: Staging: hv: netvsc_drv: Get rid of the unnecessary assignment of ring_buf_size X-Git-Tag: v3.0-rc1~336^2~182 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=70843a2177f321d86aa30ea7e6c6c1caa6c7d173;p=profile%2Fivi%2Fkernel-x86-ivi.git 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 Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen Signed-off-by: Greg Kroah-Hartman --- 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);