Commit 1405139c authored by K. Y. Srinivasan's avatar K. Y. Srinivasan Committed by Greg Kroah-Hartman

Staging: hv: Make rndis_filter_device_remove() non static

Signed-off-by: default avatarK. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: default avatarHaiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: default avatarAbhishek Kane <v-abkane@microsoft.com>
Signed-off-by: default avatarHank Janssen <hjanssen@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 10f5a6db
...@@ -124,6 +124,7 @@ int rndis_filter_open(struct hv_device *dev); ...@@ -124,6 +124,7 @@ int rndis_filter_open(struct hv_device *dev);
int rndis_filter_close(struct hv_device *dev); int rndis_filter_close(struct hv_device *dev);
int rndis_filte_device_add(struct hv_device *dev, int rndis_filte_device_add(struct hv_device *dev,
void *additional_info); void *additional_info);
int rndis_filter_device_remove(struct hv_device *dev);
#endif /* _NETVSC_API_H_ */ #endif /* _NETVSC_API_H_ */
...@@ -84,8 +84,6 @@ struct rndis_filter_packet { ...@@ -84,8 +84,6 @@ struct rndis_filter_packet {
}; };
static int rndis_filter_device_remove(struct hv_device *dev);
static void rndis_filter_cleanup(struct hv_driver *drv); static void rndis_filter_cleanup(struct hv_driver *drv);
static int rndis_filter_send(struct hv_device *dev, static int rndis_filter_send(struct hv_device *dev,
...@@ -803,7 +801,7 @@ int rndis_filte_device_add(struct hv_device *dev, ...@@ -803,7 +801,7 @@ int rndis_filte_device_add(struct hv_device *dev,
return ret; return ret;
} }
static int rndis_filter_device_remove(struct hv_device *dev) int rndis_filter_device_remove(struct hv_device *dev)
{ {
struct netvsc_device *net_dev = dev->ext; struct netvsc_device *net_dev = dev->ext;
struct rndis_device *rndis_dev = net_dev->extension; struct rndis_device *rndis_dev = net_dev->extension;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment