From 211ccd6e0b4b62abc0c93eeb671f5cd970b3c185 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Wed, 2 Sep 2009 11:24:48 -0700 Subject: Staging: hv: remove function pointer typedefs from NetVscApi.h function pointer typedefs are allowed in the kernel, but only if they make sense, which they really do not here, as they are not passed around with any kind of frequency. So just spell them all out, it makes the code smaller and easier to understand overall. Cc: Hank Janssen Signed-off-by: Greg Kroah-Hartman --- drivers/staging/hv/RndisFilter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/staging/hv/RndisFilter.c') diff --git a/drivers/staging/hv/RndisFilter.c b/drivers/staging/hv/RndisFilter.c index 6ebe70ec688..cfe2f02f319 100644 --- a/drivers/staging/hv/RndisFilter.c +++ b/drivers/staging/hv/RndisFilter.c @@ -73,7 +73,7 @@ struct rndis_request { struct rndis_filter_packet { void *CompletionContext; - PFN_ON_SENDRECVCOMPLETION OnCompletion; + void (*OnCompletion)(void *context); struct rndis_message Message; }; -- cgit v1.2.3