mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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>
This commit is contained in:
parent
4a2176c63b
commit
02b6de01af
4 changed files with 17 additions and 20 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue