]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Staging: hv: netvsc_drv: Get rid of the unnecessary assignment of ring_buf_size
authorK. Y. Srinivasan <kys@microsoft.com>
Fri, 13 May 2011 02:35:06 +0000 (19:35 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 17 May 2011 19:28:51 +0000 (12:28 -0700)
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>
drivers/staging/hv/netvsc_drv.c

index 6463f320c3247bb230cc2945b4723596bbc6f972..950a45694b2ebe851979a28532050fdf969cbd6c 100644 (file)
@@ -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);