diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-02 11:24:48 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 12:02:03 -0700 |
commit | 211ccd6e0b4b62abc0c93eeb671f5cd970b3c185 (patch) | |
tree | 5f7031aac7bc13a70ccd4100f7001976001d6f22 /drivers/staging/hv/RndisFilter.c | |
parent | 74982610d08e7687c435fa6f07245fdfb2362f6d (diff) |
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 <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv/RndisFilter.c')
-rw-r--r-- | drivers/staging/hv/RndisFilter.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; }; |