Skip to content

Commit

Permalink
Staging: hv: netvsc_drv: Move the definition of struct rndis_filter_p…
Browse files Browse the repository at this point in the history
…acket to hyperv_net.h

Move the definition of struct rndis_filter_packet to hyperv_net.h.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com>
Signed-off-by: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed May 17, 2011
1 parent e3f8a80 commit 9dbfd15
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
7 changes: 7 additions & 0 deletions drivers/staging/hv/hyperv_net.h
Original file line number Diff line number Diff line change
Expand Up @@ -1019,6 +1019,13 @@ struct rndis_message {
union rndis_message_container msg;
};


struct rndis_filter_packet {
void *completion_ctx;
void (*completion)(void *context);
struct rndis_message msg;
};

/* Handy macros */

/* get the size of an RNDIS message. Pass in the message type, */
Expand Down
8 changes: 0 additions & 8 deletions drivers/staging/hv/rndis_filter.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,6 @@ struct rndis_request {
struct rndis_message request_msg;
};


struct rndis_filter_packet {
void *completion_ctx;
void (*completion)(void *context);
struct rndis_message msg;
};


static void rndis_filter_send_completion(void *ctx);

static void rndis_filter_send_request_completion(void *ctx);
Expand Down

0 comments on commit 9dbfd15

Please sign in to comment.