diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2010-01-08 18:24:42 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-03-04 00:42:36 (GMT) |
commit | 2d0753464b497287565c2e54d3ae67666852ef57 (patch) | |
tree | 1a464eeabf5c769af2f59a4d205ad6cbf3137a1a /drivers/staging/hv/NetVscApi.h | |
parent | 354b0a643e89dd3163278c9a0ac9cbcb9ef5c298 (diff) | |
download | linux-fsl-qoriq-2d0753464b497287565c2e54d3ae67666852ef57.tar.xz |
Staging: hv: remove unneeded OnOpen callback
This callback only calls one function, so just call the function
instead, no need for indirection at all.
Cc: Hank Janssen <hjanssen@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv/NetVscApi.h')
-rw-r--r-- | drivers/staging/hv/NetVscApi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/hv/NetVscApi.h b/drivers/staging/hv/NetVscApi.h index 1ce2b74..93b9226 100644 --- a/drivers/staging/hv/NetVscApi.h +++ b/drivers/staging/hv/NetVscApi.h @@ -105,7 +105,6 @@ struct netvsc_driver { void (*OnLinkStatusChanged)(struct hv_device *dev, u32 Status); /* Specific to this driver */ - int (*OnOpen)(struct hv_device *dev); int (*OnClose)(struct hv_device *dev); int (*OnSend)(struct hv_device *dev, struct hv_netvsc_packet *packet); @@ -119,5 +118,6 @@ struct netvsc_device_info { /* Interface */ int NetVscInitialize(struct hv_driver *drv); +int RndisFilterOnOpen(struct hv_device *Device); #endif /* _NETVSC_API_H_ */ |