aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2010-10-20 15:57:19 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2010-10-20 15:57:19 -0700
commit40bc5360d7fe6fae4ec454c1dca90d6cdaa7e448 (patch)
tree1face08b8c300f9a30b342e89eb18fd2b6f39d80 /drivers/staging
parentee00966818584e8dbf7a5c7118c3b3cfebd6be14 (diff)
downloadkernel_goldelico_gta04-40bc5360d7fe6fae4ec454c1dca90d6cdaa7e448.zip
kernel_goldelico_gta04-40bc5360d7fe6fae4ec454c1dca90d6cdaa7e448.tar.gz
kernel_goldelico_gta04-40bc5360d7fe6fae4ec454c1dca90d6cdaa7e448.tar.bz2
Staging: hv: remove GetInfo pointer from struct vmbus_channel_interface
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>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/hv/channel_interface.c1
-rw-r--r--drivers/staging/hv/vmbus_api.h2
2 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/hv/channel_interface.c b/drivers/staging/hv/channel_interface.c
index abd7f7f..c0d1ac8 100644
--- a/drivers/staging/hv/channel_interface.c
+++ b/drivers/staging/hv/channel_interface.c
@@ -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,
};
diff --git a/drivers/staging/hv/vmbus_api.h b/drivers/staging/hv/vmbus_api.h
index 7f3d7dc..0f79216 100644
--- a/drivers/staging/hv/vmbus_api.h
+++ b/drivers/staging/hv/vmbus_api.h
@@ -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
@@ -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;