Staging: hv: remove unneeded OnHostRescan callback
authorGreg Kroah-Hartman <gregkh@suse.de>
Fri, 8 Jan 2010 18:20:27 +0000 (10:20 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 4 Mar 2010 00:42:36 +0000 (16:42 -0800)
This callback was never called, so delete the thing.

Cc: Hank Janssen <hjanssen@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/StorVscApi.h
drivers/staging/hv/storvsc_drv.c

index 69c14066c479e1a7106e5a2dcacecc6f34f3515c..1aca24e650357879a143e4e91b4dacc75d42cbf1 100644 (file)
@@ -91,9 +91,6 @@ struct storvsc_driver_object {
        /* Maximum # of requests in flight per channel/device */
        u32 MaxOutstandingRequestsPerChannel;
 
-       /* Set by the caller to allow us to re-enumerate the bus on the host */
-       void (*OnHostRescan)(struct hv_device *Device);
-
        /* Specific to this driver */
        int (*OnIORequest)(struct hv_device *Device,
                           struct hv_storvsc_request *Request);
index d49dc21d4cb4a4117c570e5818dee8b2ec5a19eb..c3839626aeda31bd7092f381a1f391473762d883 100644 (file)
@@ -148,7 +148,6 @@ static int storvsc_drv_init(int (*drv_init)(struct hv_driver *drv))
        vmbus_get_interface(&storvsc_drv_obj->Base.VmbusChannelInterface);
 
        storvsc_drv_obj->RingBufferSize = storvsc_ringbuffer_size;
-       storvsc_drv_obj->OnHostRescan = storvsc_host_rescan;
 
        /* Callback to client driver to complete the initialization */
        drv_init(&storvsc_drv_obj->Base);