From 7903506975905605bbb9077008ca83eabc0f6272 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Wed, 2 Sep 2009 11:44:19 -0700 Subject: Staging: hv: remove PFN_CHANNEL_CALLBACK Come on people, it doesn't get simpler than this, why have a typedef for something so tiny... Cc: Hank Janssen Signed-off-by: Greg Kroah-Hartman --- drivers/staging/hv/Channel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers/staging/hv/Channel.c') diff --git a/drivers/staging/hv/Channel.c b/drivers/staging/hv/Channel.c index 442e6a3c6f5..ed94e3656e7 100644 --- a/drivers/staging/hv/Channel.c +++ b/drivers/staging/hv/Channel.c @@ -169,7 +169,7 @@ void VmbusChannelGetDebugInfo(struct vmbus_channel *Channel, */ int VmbusChannelOpen(struct vmbus_channel *NewChannel, u32 SendRingBufferSize, u32 RecvRingBufferSize, void *UserData, u32 UserDataLen, - PFN_CHANNEL_CALLBACK pfnOnChannelCallback, void *Context) + void (*OnChannelCallback)(void *context), void *Context) { struct vmbus_channel_open_channel *openMsg; struct vmbus_channel_msginfo *openInfo; @@ -183,7 +183,7 @@ int VmbusChannelOpen(struct vmbus_channel *NewChannel, u32 SendRingBufferSize, ASSERT(!(SendRingBufferSize & (PAGE_SIZE - 1))); ASSERT(!(RecvRingBufferSize & (PAGE_SIZE - 1))); - NewChannel->OnChannelCallback = pfnOnChannelCallback; + NewChannel->OnChannelCallback = OnChannelCallback; NewChannel->ChannelCallbackContext = Context; /* Allocate the ring buffer */ -- cgit v1.2.3