diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2010-01-08 18:25:01 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-03-04 00:42:36 (GMT) |
commit | 4f28900bcf9bb5e6fb0c18fc7ee325df66fe8bbd (patch) | |
tree | 785524907e8b6f29ed193b32913cc700a86f39b1 /drivers/staging/hv/NetVscApi.h | |
parent | 2d0753464b497287565c2e54d3ae67666852ef57 (diff) | |
download | linux-fsl-qoriq-4f28900bcf9bb5e6fb0c18fc7ee325df66fe8bbd.tar.xz |
Staging: hv: remove unneeded OnClose 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 93b9226..95d7a32 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 (*OnClose)(struct hv_device *dev); int (*OnSend)(struct hv_device *dev, struct hv_netvsc_packet *packet); void *Context; @@ -119,5 +118,6 @@ struct netvsc_device_info { /* Interface */ int NetVscInitialize(struct hv_driver *drv); int RndisFilterOnOpen(struct hv_device *Device); +int RndisFilterOnClose(struct hv_device *Device); #endif /* _NETVSC_API_H_ */ |