From: K. Y. Srinivasan Date: Fri, 13 May 2011 02:35:10 +0000 (-0700) Subject: Staging: hv: netvsc_drv: Get rid of the empty function rndis_filter_init() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=10ffe98cdce196c0fc51ba94b28835100301a5f0;p=mv-sheeva.git Staging: hv: netvsc_drv: Get rid of the empty function rndis_filter_init() Get rid of the empty function rndis_filter_init(). 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 --- diff --git a/drivers/staging/hv/hyperv_net.h b/drivers/staging/hv/hyperv_net.h index cf7570f1f2c..aaebac63929 100644 --- a/drivers/staging/hv/hyperv_net.h +++ b/drivers/staging/hv/hyperv_net.h @@ -1077,8 +1077,5 @@ struct rndis_filter_packet { #define NDIS_PACKET_TYPE_MAC_FRAME 0x00000800 -/* Interface */ - -extern int rndis_filter_init(struct netvsc_driver *driver); #endif /* _HYPERV_NET_H */ diff --git a/drivers/staging/hv/netvsc.c b/drivers/staging/hv/netvsc.c index 2eaa667295f..41cbb26eccb 100644 --- a/drivers/staging/hv/netvsc.c +++ b/drivers/staging/hv/netvsc.c @@ -1168,12 +1168,9 @@ cleanup: */ int netvsc_initialize(struct hv_driver *drv) { - struct netvsc_driver *driver = - drv_to_netvscdrv(&drv->driver); drv->name = driver_name; memcpy(&drv->dev_type, &netvsc_device_type, sizeof(struct hv_guid)); - rndis_filter_init(driver); return 0; } diff --git a/drivers/staging/hv/rndis_filter.c b/drivers/staging/hv/rndis_filter.c index ec68c755f64..60ebdb1b608 100644 --- a/drivers/staging/hv/rndis_filter.c +++ b/drivers/staging/hv/rndis_filter.c @@ -568,11 +568,6 @@ Exit: return ret; } -int rndis_filter_init(struct netvsc_driver *drv) -{ - - return 0; -} static int rndis_filter_init_device(struct rndis_device *dev) {