[ofw] [Patch 5/62] Reference implementation of NDv2

Fab Tillier ftillier at microsoft.com
Wed Feb 20 15:39:46 PST 2013


This patch removes duplicate declarations.

Signed-off-by: Fab Tillier <ftillier at microsoft.com>

diff -dwup3 -x *svn* -r c:\dev\openib\ofw\gen1\branches\mlx4_30\trunk\core\bus\kernel\bus_driver.c .\core\bus\kernel\bus_driver.c
--- c:\dev\openib\ofw\gen1\branches\mlx4_30\trunk\core\bus\kernel\bus_driver.c	Thu May 31 11:22:15 2012
+++ .\core\bus\kernel\bus_driver.c	Thu Jul 26 16:08:33 2012
@@ -75,31 +75,15 @@ __read_registry(
 
 __drv_dispatchType(IRP_MJ_CREATE)
 static DRIVER_DISPATCH bus_drv_open;
-static NTSTATUS
-bus_drv_open(
-	IN				DEVICE_OBJECT				*p_dev_obj,
-	IN				IRP							*p_irp );
 
 __drv_dispatchType(IRP_MJ_CLEANUP)
 static DRIVER_DISPATCH bus_drv_cleanup;
-static NTSTATUS
-bus_drv_cleanup(
-	IN				DEVICE_OBJECT				*p_dev_obj,
-	IN				IRP							*p_irp );
 
 __drv_dispatchType(IRP_MJ_CLOSE)
 static DRIVER_DISPATCH bus_drv_close;
-static NTSTATUS
-bus_drv_close(
-	IN				DEVICE_OBJECT				*p_dev_obj,
-	IN				IRP							*p_irp );
 
 __drv_dispatchType(IRP_MJ_DEVICE_CONTROL)
 static DRIVER_DISPATCH bus_drv_ioctl;
-static NTSTATUS
-bus_drv_ioctl(
-	IN				DEVICE_OBJECT				*p_dev_obj,
-	IN				IRP							*p_irp );
 
 /***f* InfiniBand Bus Driver/bus_drv_sysctl
 * NAME
@@ -112,15 +96,9 @@ bus_drv_ioctl(
 */
 __drv_dispatchType(IRP_MJ_SYSTEM_CONTROL)
 static DRIVER_DISPATCH bus_drv_sysctl;
-static NTSTATUS
-bus_drv_sysctl(
-	IN				DEVICE_OBJECT				*p_dev_obj,
-	IN				IRP							*p_irp );
+
 /**********/
 static DRIVER_UNLOAD bus_drv_unload;
-static void
-bus_drv_unload(
-	IN				DRIVER_OBJECT				*p_driver_obj );
 
 DRIVER_INITIALIZE DriverEntry;
 NTSTATUS
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ndv2.5.patch
Type: application/octet-stream
Size: 1535 bytes
Desc: ndv2.5.patch
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20130220/c8bc0be8/attachment.obj>


More information about the ofw mailing list