Commit 10ffe98c authored by K. Y. Srinivasan's avatar K. Y. Srinivasan Committed by Greg Kroah-Hartman

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: 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 c7620cd0
...@@ -1077,8 +1077,5 @@ struct rndis_filter_packet { ...@@ -1077,8 +1077,5 @@ struct rndis_filter_packet {
#define NDIS_PACKET_TYPE_MAC_FRAME 0x00000800 #define NDIS_PACKET_TYPE_MAC_FRAME 0x00000800
/* Interface */
extern int rndis_filter_init(struct netvsc_driver *driver);
#endif /* _HYPERV_NET_H */ #endif /* _HYPERV_NET_H */
...@@ -1168,12 +1168,9 @@ int netvsc_device_add(struct hv_device *device, void *additional_info) ...@@ -1168,12 +1168,9 @@ int netvsc_device_add(struct hv_device *device, void *additional_info)
*/ */
int netvsc_initialize(struct hv_driver *drv) int netvsc_initialize(struct hv_driver *drv)
{ {
struct netvsc_driver *driver =
drv_to_netvscdrv(&drv->driver);
drv->name = driver_name; drv->name = driver_name;
memcpy(&drv->dev_type, &netvsc_device_type, sizeof(struct hv_guid)); memcpy(&drv->dev_type, &netvsc_device_type, sizeof(struct hv_guid));
rndis_filter_init(driver);
return 0; return 0;
} }
...@@ -568,11 +568,6 @@ static int rndis_filter_set_packet_filter(struct rndis_device *dev, ...@@ -568,11 +568,6 @@ static int rndis_filter_set_packet_filter(struct rndis_device *dev,
return ret; return ret;
} }
int rndis_filter_init(struct netvsc_driver *drv)
{
return 0;
}
static int rndis_filter_init_device(struct rndis_device *dev) static int rndis_filter_init_device(struct rndis_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