Staging: hv: storvsc: Get rid of some unnecessary state and definitions
authorK. Y. Srinivasan <kys@microsoft.com>
Tue, 13 Sep 2011 17:59:47 +0000 (10:59 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 16 Sep 2011 18:06:02 +0000 (20:06 +0200)
Now, get rid of some unnecessary state and definitions.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/storvsc_drv.c

index ce8652e..5e306a5 100644 (file)
@@ -245,7 +245,6 @@ enum storvsc_request_type {
 
 
 struct hv_storvsc_request {
-       struct hv_storvsc_request *request;
        struct hv_device *device;
 
        /* Synchronize the request/response if needed */
@@ -260,14 +259,6 @@ struct hv_storvsc_request {
 };
 
 
-struct storvsc_device_info {
-       u32 ring_buffer_size;
-       unsigned int port_number;
-       unsigned char path_id;
-       unsigned char target_id;
-};
-
-
 /* A storvsc device is a device object that contains a vmbus channel */
 struct storvsc_device {
        struct hv_device *device;