diff options
author | 2017-08-16 08:56:25 -0700 | |
---|---|---|
committer | 2017-08-16 16:27:45 -0700 | |
commit | 5a668d8cddbe8bf14379ce110c49ca088a1e9fae (patch) | |
tree | 1fe45b1f028817a18857e8bfe85ec090e541bc91 /drivers/net/hyperv/netvsc.c | |
parent | vmbus: remove unused vmbus_sendpacket_multipagebuffer (diff) | |
download | linux-5a668d8cddbe8bf14379ce110c49ca088a1e9fae.tar.gz linux-5a668d8cddbe8bf14379ce110c49ca088a1e9fae.tar.bz2 linux-5a668d8cddbe8bf14379ce110c49ca088a1e9fae.zip |
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/netvsc.c')
-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), |