Skip to content

Commit

Permalink
Staging: hv: remove unneeded OnHostRescan callback
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Greg Kroah-Hartman committed Mar 4, 2010
1 parent 4230020 commit 65e65a3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions drivers/staging/hv/StorVscApi.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/hv/storvsc_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 65e65a3

Please sign in to comment.