提交 1d7e907f 编写于 作者: G Greg Kroah-Hartman

Staging: hv: remove typedefs from ChannelMgmt.c

Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 490707d2
...@@ -32,10 +32,10 @@ ...@@ -32,10 +32,10 @@
typedef void (*PFN_CHANNEL_MESSAGE_HANDLER)(struct vmbus_channel_message_header *msg); typedef void (*PFN_CHANNEL_MESSAGE_HANDLER)(struct vmbus_channel_message_header *msg);
typedef struct _VMBUS_CHANNEL_MESSAGE_TABLE_ENTRY { struct vmbus_channel_message_table_entry {
enum vmbus_channel_message_type messageType; enum vmbus_channel_message_type messageType;
PFN_CHANNEL_MESSAGE_HANDLER messageHandler; PFN_CHANNEL_MESSAGE_HANDLER messageHandler;
} VMBUS_CHANNEL_MESSAGE_TABLE_ENTRY; };
/* Internal routines */ /* Internal routines */
static void VmbusChannelOnOffer(struct vmbus_channel_message_header *hdr); static void VmbusChannelOnOffer(struct vmbus_channel_message_header *hdr);
...@@ -92,7 +92,7 @@ static const struct hv_guid gSupportedDeviceClasses[MAX_NUM_DEVICE_CLASSES_SUPPO ...@@ -92,7 +92,7 @@ static const struct hv_guid gSupportedDeviceClasses[MAX_NUM_DEVICE_CLASSES_SUPPO
}; };
/* Channel message dispatch table */ /* Channel message dispatch table */
static VMBUS_CHANNEL_MESSAGE_TABLE_ENTRY gChannelMessageTable[ChannelMessageCount]= { static struct vmbus_channel_message_table_entry gChannelMessageTable[ChannelMessageCount]= {
{ChannelMessageInvalid, NULL}, {ChannelMessageInvalid, NULL},
{ChannelMessageOfferChannel, VmbusChannelOnOffer}, {ChannelMessageOfferChannel, VmbusChannelOnOffer},
{ChannelMessageRescindChannelOffer, VmbusChannelOnOfferRescind}, {ChannelMessageRescindChannelOffer, VmbusChannelOnOfferRescind},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册