diff options
author | stephen hemminger <stephen@networkplumber.org> | 2017-08-16 08:56:26 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-16 16:27:45 -0700 |
commit | 5dd0fb9b9ffc0ef9b312d05604f4ad0fffc50505 (patch) | |
tree | e84b4fd3acbb89d94bc378e37c404462fa23cd00 /drivers/net/hyperv/netvsc.c | |
parent | 5a668d8cddbe8bf14379ce110c49ca088a1e9fae (diff) | |
download | linux-stable-5dd0fb9b9ffc0ef9b312d05604f4ad0fffc50505.tar.gz linux-stable-5dd0fb9b9ffc0ef9b312d05604f4ad0fffc50505.tar.bz2 linux-stable-5dd0fb9b9ffc0ef9b312d05604f4ad0fffc50505.zip |
vmbus: remove unused vmbus_sendpacket_ctl
The only usage of vmbus_sendpacket_ctl was by vmbus_sendpacket.
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 | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/net/hyperv/netvsc.c b/drivers/net/hyperv/netvsc.c index 6031102cbba3..0062b802676f 100644 --- a/drivers/net/hyperv/netvsc.c +++ b/drivers/net/hyperv/netvsc.c @@ -780,11 +780,10 @@ static inline int netvsc_send_pkt( &nvmsg, sizeof(nvmsg), req_id); } else { - ret = vmbus_sendpacket_ctl(out_channel, &nvmsg, - sizeof(struct nvsp_message), - req_id, - VM_PKT_DATA_INBAND, - VMBUS_DATA_PACKET_FLAG_COMPLETION_REQUESTED); + ret = vmbus_sendpacket(out_channel, + &nvmsg, sizeof(nvmsg), + req_id, VM_PKT_DATA_INBAND, + VMBUS_DATA_PACKET_FLAG_COMPLETION_REQUESTED); } if (ret == 0) { |