summaryrefslogtreecommitdiff
path: root/drivers/net/hyperv/hyperv_net.h
diff options
context:
space:
mode:
authorStephen Hemminger <sthemmin@microsoft.com>2016-08-23 22:17:50 +0300
committerDavid S. Miller <davem@davemloft.net>2016-08-23 22:05:37 +0300
commite08f3ea586d4145e36c77f0dd1602374b5d7e928 (patch)
tree8ebf3160f07af8bb53dd778141977d0fd30cfce1 /drivers/net/hyperv/hyperv_net.h
parente5a78fad4f1eb49064e4c35d0a4263424b12124c (diff)
downloadlinux-e08f3ea586d4145e36c77f0dd1602374b5d7e928.tar.xz
hv_netvsc: make device_remove void
Always returns 0 and no callers check. Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net>
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 b58e5592a5d5..8031deeb0a40 100644
--- a/drivers/net/hyperv/hyperv_net.h
+++ b/drivers/net/hyperv/hyperv_net.h
@@ -173,7 +173,7 @@ struct rndis_device {
struct rndis_message;
struct netvsc_device;
int netvsc_device_add(struct hv_device *device, void *additional_info);
-int netvsc_device_remove(struct hv_device *device);
+void netvsc_device_remove(struct hv_device *device);
int netvsc_send(struct hv_device *device,
struct hv_netvsc_packet *packet,
struct rndis_message *rndis_msg,