mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-25 02:48:21 +00:00
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 <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>
This commit is contained in:
parent
c7620cd029
commit
10ffe98cdc
@ -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 */
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user