diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2011-05-12 19:34:58 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-05-17 12:27:17 -0700 |
commit | ac6f78590104f01036ae7f1ecc062411a251f756 (patch) | |
tree | b40531c2a014b61a665b643c8569aa1286bd8a31 | |
parent | a25e1dbe9ede75b7601c477eee0b9e3c2e6b9870 (diff) | |
download | linux-3.10-ac6f78590104f01036ae7f1ecc062411a251f756.tar.gz linux-3.10-ac6f78590104f01036ae7f1ecc062411a251f756.tar.bz2 linux-3.10-ac6f78590104f01036ae7f1ecc062411a251f756.zip |
Staging: hv: netvsc_drv: Directly invoke the function rndis_filter_receive()
Directly invoke the function rndis_filter_receive().
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>
-rw-r--r-- | drivers/staging/hv/netvsc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/staging/hv/netvsc.c b/drivers/staging/hv/netvsc.c index 5ca35ad50ee..85e7ea6858e 100644 --- a/drivers/staging/hv/netvsc.c +++ b/drivers/staging/hv/netvsc.c @@ -820,8 +820,6 @@ static void netvsc_receive(struct hv_device *device, int i, j; int count = 0, bytes_remain = 0; unsigned long flags; - struct netvsc_driver *netvsc_drv = - drv_to_netvscdrv(device->device.driver); LIST_HEAD(listHead); @@ -983,7 +981,7 @@ static void netvsc_receive(struct hv_device *device, } /* Pass it to the upper layer */ - netvsc_drv->recv_cb(device, netvsc_packet); + rndis_filter_receive(device, netvsc_packet); netvsc_receive_completion(netvsc_packet-> completion.recv.recv_completion_ctx); |