Skip to content

Commit

Permalink
Staging: hv: netvsc_drv: Get rid of an unnecessary assignment in rndi…
Browse files Browse the repository at this point in the history
…s_filter.c

Now that we compute the size of struct rndis_filter_packet where
it is needed, get rid of the unnecessary assignment.

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 f8ba8c7 commit d0e3304
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/staging/hv/rndis_filter.c
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,6 @@ static int rndis_filter_set_packet_filter(struct rndis_device *dev,

int rndis_filter_init(struct netvsc_driver *drv)
{
drv->req_ext_size = sizeof(struct rndis_filter_packet);

/* Driver->Context = rndisDriver; */

Expand Down

0 comments on commit d0e3304

Please sign in to comment.