Staging: hv: remove SendPacket from struct vmbus_channel_interface
No one calls it anymore, so remove it. Cc: Haiyang Zhang <haiyangz@microsoft.com> Cc: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
b60d71e2b6
commit
5dd30f5170
2 changed files with 0 additions and 12 deletions
|
@ -41,17 +41,8 @@ static void ivmbus_close(struct hv_device *device)
|
||||||
vmbus_close(device->channel);
|
vmbus_close(device->channel);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int ivmbus_sendpacket(struct hv_device *device, const void *buffer,
|
|
||||||
u32 bufferlen, u64 requestid, u32 type,
|
|
||||||
u32 flags)
|
|
||||||
{
|
|
||||||
return vmbus_sendpacket(device->channel, buffer, bufferlen,
|
|
||||||
requestid, type, flags);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* vmbus interface function pointer table */
|
/* vmbus interface function pointer table */
|
||||||
const struct vmbus_channel_interface vmbus_ops = {
|
const struct vmbus_channel_interface vmbus_ops = {
|
||||||
.Open = ivmbus_open,
|
.Open = ivmbus_open,
|
||||||
.Close = ivmbus_close,
|
.Close = ivmbus_close,
|
||||||
.SendPacket = ivmbus_sendpacket,
|
|
||||||
};
|
};
|
||||||
|
|
|
@ -88,7 +88,6 @@ struct hv_device_info {
|
||||||
* struct vmbus_channel_interface - Contains member functions for vmbus channel
|
* struct vmbus_channel_interface - Contains member functions for vmbus channel
|
||||||
* @Open: Open the channel
|
* @Open: Open the channel
|
||||||
* @Close: Close the channel
|
* @Close: Close the channel
|
||||||
* @SendPacket: Send a packet over the channel
|
|
||||||
*
|
*
|
||||||
* This structure contains function pointer to control vmbus channel
|
* This structure contains function pointer to control vmbus channel
|
||||||
* behavior. None of these functions is externally callable, but they
|
* behavior. None of these functions is externally callable, but they
|
||||||
|
@ -101,8 +100,6 @@ struct vmbus_channel_interface {
|
||||||
void (*ChannelCallback)(void *context),
|
void (*ChannelCallback)(void *context),
|
||||||
void *Context);
|
void *Context);
|
||||||
void (*Close)(struct hv_device *device);
|
void (*Close)(struct hv_device *device);
|
||||||
int (*SendPacket)(struct hv_device *Device, const void *Buffer,
|
|
||||||
u32 BufferLen, u64 RequestId, u32 Type, u32 Flags);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
extern const struct vmbus_channel_interface vmbus_ops;
|
extern const struct vmbus_channel_interface vmbus_ops;
|
||||||
|
|
Reference in a new issue