diff options
author | stephen hemminger <stephen@networkplumber.org> | 2017-08-16 18:56:25 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-17 02:27:45 +0300 |
commit | 5a668d8cddbe8bf14379ce110c49ca088a1e9fae (patch) | |
tree | 1fe45b1f028817a18857e8bfe85ec090e541bc91 /drivers/net/hyperv | |
parent | 9a603b8e1136f2b55f780fefbcbf84d31844ff2b (diff) | |
download | linux-5a668d8cddbe8bf14379ce110c49ca088a1e9fae.tar.xz |
vmbus: remove unused vmubs_sendpacket_pagebuffer_ctl
The function vmbus_sendpacket_pagebuffer_ctl was never used directly.
Just have vmbus_send_pagebuffer
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/hyperv')
-rw-r--r-- | drivers/net/hyperv/netvsc.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/drivers/net/hyperv/netvsc.c b/drivers/net/hyperv/netvsc.c index 0530e7d729e1..6031102cbba3 100644 --- a/drivers/net/hyperv/netvsc.c +++ b/drivers/net/hyperv/netvsc.c @@ -775,12 +775,10 @@ static inline int netvsc_send_pkt( if (packet->cp_partial) pb += packet->rmsg_pgcnt; - ret = vmbus_sendpacket_pagebuffer_ctl(out_channel, - pb, packet->page_buf_cnt, - &nvmsg, - sizeof(struct nvsp_message), - req_id, - VMBUS_DATA_PACKET_FLAG_COMPLETION_REQUESTED); + ret = vmbus_sendpacket_pagebuffer(out_channel, + pb, packet->page_buf_cnt, + &nvmsg, sizeof(nvmsg), + req_id); } else { ret = vmbus_sendpacket_ctl(out_channel, &nvmsg, sizeof(struct nvsp_message), |