Staging: hv: netvsc_drv: Get rid of the empty function rndis_filter_init()
authorK. Y. Srinivasan <kys@microsoft.com>
Fri, 13 May 2011 02:35:10 +0000 (19:35 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 17 May 2011 19:28:54 +0000 (12:28 -0700)
Get rid of the empty function rndis_filter_init().

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com>
Signed-off-by: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/hyperv_net.h
drivers/staging/hv/netvsc.c
drivers/staging/hv/rndis_filter.c

index cf7570f1f2c330c04b7fb3ada345dc1e4dd11599..aaebac63929be3ebd2b7b5b6d2bc54c1c0225a8f 100644 (file)
@@ -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 */
index 2eaa667295f8beb51ce0ce270b9b81783ff2ee8d..41cbb26eccbf8c978d5cbc877d15ceebbd4d0f97 100644 (file)
@@ -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;
 }
index ec68c755f643e615cd512a22ed5148a24b6c88fd..60ebdb1b6082b33f1a993b1b6928da599df4c1fc 100644 (file)
@@ -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)
 {