Commit 4eb498fa authored by K. Y. Srinivasan's avatar K. Y. Srinivasan Committed by Greg Kroah-Hartman

Staging: hv: Get rid of rndis_filter_cleanup()

rndis_filter_cleanup() is an empty function; get rid of it.
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 1405139c
...@@ -84,8 +84,6 @@ struct rndis_filter_packet { ...@@ -84,8 +84,6 @@ struct rndis_filter_packet {
}; };
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,
struct hv_netvsc_packet *pkt); struct hv_netvsc_packet *pkt);
...@@ -621,7 +619,6 @@ int rndis_filter_init(struct netvsc_driver *drv) ...@@ -621,7 +619,6 @@ int rndis_filter_init(struct netvsc_driver *drv)
/* Override */ /* Override */
drv->base.dev_add = rndis_filte_device_add; drv->base.dev_add = rndis_filte_device_add;
drv->base.dev_rm = rndis_filter_device_remove; drv->base.dev_rm = rndis_filter_device_remove;
drv->base.cleanup = rndis_filter_cleanup;
drv->send = rndis_filter_send; drv->send = rndis_filter_send;
drv->recv_cb = rndis_filter_receive; drv->recv_cb = rndis_filter_receive;
...@@ -818,9 +815,6 @@ int rndis_filter_device_remove(struct hv_device *dev) ...@@ -818,9 +815,6 @@ int rndis_filter_device_remove(struct hv_device *dev)
return 0; return 0;
} }
static void rndis_filter_cleanup(struct hv_driver *drv)
{
}
int rndis_filter_open(struct hv_device *dev) int rndis_filter_open(struct hv_device *dev)
{ {
......
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