From 4eb498fa26f34e9f137f841a591a099d79201a2c Mon Sep 17 00:00:00 2001 From: "K. Y. Srinivasan" Date: Tue, 10 May 2011 07:54:58 -0700 Subject: [PATCH] Staging: hv: Get rid of rndis_filter_cleanup() rndis_filter_cleanup() is an empty function; get rid of it. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen Signed-off-by: Greg Kroah-Hartman --- drivers/staging/hv/rndis_filter.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/staging/hv/rndis_filter.c b/drivers/staging/hv/rndis_filter.c index 455d4402dbce..b0c888ec9a6c 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) { -- 2.30.2