diff options
author | stephen hemminger <stephen@networkplumber.org> | 2017-07-28 17:59:44 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-07-30 00:25:43 +0200 |
commit | 02b6de01af1d116c107d61fa3e8583be3b97ac3c (patch) | |
tree | feee338401cd7b48e159ef1e197c28625e66f295 /drivers/net/hyperv/hyperv_net.h | |
parent | netvsc: don't print pointer value in error message (diff) | |
download | linux-02b6de01af1d116c107d61fa3e8583be3b97ac3c.tar.xz linux-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); |