Skip to content

Commit

Permalink
Staging: hv: remove GetInfo pointer from struct vmbus_channel_interface
Browse files Browse the repository at this point in the history
It's only set by one thing, and never called.

Cc: Haiyang Zhang <haiyangz@microsoft.com>
Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Greg Kroah-Hartman committed Oct 20, 2010
1 parent ee00966 commit 40bc536
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion drivers/staging/hv/channel_interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,5 +151,4 @@ const struct vmbus_channel_interface vmbus_ops = {
.RecvPacketRaw = ivmbus_recvpacket_raw,
.EstablishGpadl = ivmbus_establish_gpadl,
.TeardownGpadl = ivmbus_teardown_gpadl,
.GetInfo = get_channel_info,
};
2 changes: 0 additions & 2 deletions drivers/staging/hv/vmbus_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ struct hv_device_info {
* @RecvPacketRaw: Receive Raw packet
* @EstablishGpadl: Set up GPADL for ringbuffer
* @TeardownGpadl: Teardown GPADL for ringbuffer
* @GetInfo: Get info about the channel
*
* This structure contains function pointer to control vmbus channel
* behavior. None of these functions is externally callable, but they
Expand Down Expand Up @@ -126,7 +125,6 @@ struct vmbus_channel_interface {
int (*EstablishGpadl)(struct hv_device *dev, void *buf, u32 buflen,
u32 *GpadlHandle);
int (*TeardownGpadl)(struct hv_device *device, u32 GpadlHandle);
void (*GetInfo)(struct hv_device *dev, struct hv_device_info *devinfo);
};

extern const struct vmbus_channel_interface vmbus_ops;
Expand Down

0 comments on commit 40bc536

Please sign in to comment.