Staging: hv: storvsc_drv: Get rid of the unnecessary assignment of ring size
authorK. Y. Srinivasan <kys@microsoft.com>
Tue, 10 May 2011 14:56:02 +0000 (07:56 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 11 May 2011 20:49:25 +0000 (13:49 -0700)
Now, get rid of the unnecessary assignment of ring size.

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/storvsc_drv.c

index 1fb0521..f37c836 100644 (file)
@@ -799,8 +799,6 @@ static int storvsc_drv_init(void)
        sizeof(struct vstor_packet) + sizeof(u64),
        sizeof(u64)));
 
-       storvsc_drv_obj->ring_buffer_size = storvsc_ringbuffer_size;
-
        /* Callback to client driver to complete the initialization */
        storvsc_initialize(&storvsc_drv_obj->base);