aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/hyperv/hyperv_net.h
diff options
context:
space:
mode:
authorstephen hemminger <[email protected]>2017-07-28 15:59:44 +0000
committerDavid S. Miller <[email protected]>2017-07-29 22:25:43 +0000
commit02b6de01af1d116c107d61fa3e8583be3b97ac3c (patch)
treefeee338401cd7b48e159ef1e197c28625e66f295 /drivers/net/hyperv/hyperv_net.h
parentnetvsc: don't print pointer value in error message (diff)
downloadkernel-02b6de01af1d116c107d61fa3e8583be3b97ac3c.tar.gz
kernel-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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/hyperv/hyperv_net.h')
-rw-r--r--drivers/net/hyperv/hyperv_net.h2
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);