diff options
author | Nishanth Menon <nm@ti.com> | 2010-07-12 17:56:00 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-07-22 10:50:15 -0700 |
commit | 86dd51e4c4d620dfe1aca584a1332b55f3a49c05 (patch) | |
tree | 51a7559e277d8a784dcf00b6d1a66a176eeab5c2 /drivers/staging/tidspbridge/include/dspbridge | |
parent | 5e7680679e4ac852db7b03e232f3472f86d4c47f (diff) |
staging: tidspbridge: no need for custom NULL
kernel has it's own NULL define, we dont need to introduce our own
custom NULL type!
Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/tidspbridge/include/dspbridge')
-rw-r--r-- | drivers/staging/tidspbridge/include/dspbridge/dbtype.h | 8 | ||||
-rw-r--r-- | drivers/staging/tidspbridge/include/dspbridge/std.h | 4 |
2 files changed, 0 insertions, 12 deletions
diff --git a/drivers/staging/tidspbridge/include/dspbridge/dbtype.h b/drivers/staging/tidspbridge/include/dspbridge/dbtype.h index 0b2cb93c050..ca5eaf8a298 100644 --- a/drivers/staging/tidspbridge/include/dspbridge/dbtype.h +++ b/drivers/staging/tidspbridge/include/dspbridge/dbtype.h @@ -42,14 +42,6 @@ #endif /*===========================================================================*/ -/* NULL (Definition is language specific) */ -/*===========================================================================*/ - -#ifndef NULL -#define NULL ((void *)0) /* Null pointer. */ -#endif - -/*===========================================================================*/ /* NULL character (normally used for string termination) */ /*===========================================================================*/ diff --git a/drivers/staging/tidspbridge/include/dspbridge/std.h b/drivers/staging/tidspbridge/include/dspbridge/std.h index 7e09fec18ee..ca2827d92e2 100644 --- a/drivers/staging/tidspbridge/include/dspbridge/std.h +++ b/drivers/staging/tidspbridge/include/dspbridge/std.h @@ -74,10 +74,6 @@ typedef s32(*fxn) (void); /* generic function type */ -#ifndef NULL -#define NULL 0 -#endif - /* * These macros are used to cast 'Arg' types to 's32' or 'Ptr'. * These macros were added for the 55x since Arg is not the same |