diff options
author | stephen hemminger <stephen@networkplumber.org> | 2017-07-28 08:59:44 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-07-29 15:25:43 -0700 |
commit | 02b6de01af1d116c107d61fa3e8583be3b97ac3c (patch) | |
tree | feee338401cd7b48e159ef1e197c28625e66f295 /drivers/net/hyperv/hyperv_net.h | |
parent | 4a2176c63b0f95fdb66d363c7e3dacc145a4f038 (diff) | |
download | linux-stable-02b6de01af1d116c107d61fa3e8583be3b97ac3c.tar.gz linux-stable-02b6de01af1d116c107d61fa3e8583be3b97ac3c.tar.bz2 linux-stable-02b6de01af1d116c107d61fa3e8583be3b97ac3c.zip |
netvsc: remove unnecessary indirection of page_buffer
The internal API was passing struct hv_page_buffer **
when only simple struct hv_page_buffer * was necessary
for passing an array.
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/hyperv/hyperv_net.h')
-rw-r--r-- | drivers/net/hyperv/hyperv_net.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/hyperv/hyperv_net.h b/drivers/net/hyperv/hyperv_net.h index fb62ea632914..9ca3ed692d73 100644 --- a/drivers/net/hyperv/hyperv_net.h +++ b/drivers/net/hyperv/hyperv_net.h @@ -190,7 +190,7 @@ void netvsc_device_remove(struct hv_device *device); int netvsc_send(struct net_device_context *ndc, struct hv_netvsc_packet *packet, struct rndis_message *rndis_msg, - struct hv_page_buffer **page_buffer, + struct hv_page_buffer *page_buffer, struct sk_buff *skb); void netvsc_linkstatus_callback(struct hv_device *device_obj, struct rndis_message *resp); |