[PATCH 072/206] Staging: hv: Get rid of rndis_filter_cleanup()

From: K. Y. Srinivasan
Date: Mon May 09 2011 - 17:59:18 EST


rndis_filter_cleanup() is an empty function; get rid of it.

Signed-off-by: K. Y. Srinivasan <kys@xxxxxxxxxxxxx>
Signed-off-by: Haiyang Zhang <haiyangz@xxxxxxxxxxxxx>
Signed-off-by: Abhishek Kane <v-abkane@xxxxxxxxxxxxx>
Signed-off-by: Hank Janssen <hjanssen@xxxxxxxxxxxxx>
---
drivers/staging/hv/rndis_filter.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/drivers/staging/hv/rndis_filter.c b/drivers/staging/hv/rndis_filter.c
index 455d440..b0c888e 100644
--- a/drivers/staging/hv/rndis_filter.c
+++ b/drivers/staging/hv/rndis_filter.c
@@ -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,
struct hv_netvsc_packet *pkt);

@@ -621,7 +619,6 @@ int rndis_filter_init(struct netvsc_driver *drv)
/* Override */
drv->base.dev_add = rndis_filte_device_add;
drv->base.dev_rm = rndis_filter_device_remove;
- drv->base.cleanup = rndis_filter_cleanup;
drv->send = rndis_filter_send;
drv->recv_cb = rndis_filter_receive;

@@ -818,9 +815,6 @@ int rndis_filter_device_remove(struct hv_device *dev)
return 0;
}

-static void rndis_filter_cleanup(struct hv_driver *drv)
-{
-}

int rndis_filter_open(struct hv_device *dev)
{
--
1.7.4.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/