Commit 86dd51e4 authored by Nishanth Menon's avatar Nishanth Menon Committed by Greg Kroah-Hartman

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: default avatarNishanth Menon <nm@ti.com>
Reviewed-by: default avatarFelipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 5e768067
...@@ -14,10 +14,6 @@ ...@@ -14,10 +14,6 @@
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/ */
#ifndef NULL
#define NULL 0
#endif
#include <linux/string.h> #include <linux/string.h>
#define DL_STRCMP strcmp #define DL_STRCMP strcmp
......
...@@ -19,15 +19,6 @@ ...@@ -19,15 +19,6 @@
#ifndef _GLOBALTYPES_H #ifndef _GLOBALTYPES_H
#define _GLOBALTYPES_H #define _GLOBALTYPES_H
/*
* Definition: NULL
*
* DESCRIPTION: Invalid pointer
*/
#ifndef NULL
#define NULL (void *)0
#endif
/* /*
* Definition: RET_CODE_BASE * Definition: RET_CODE_BASE
* *
......
...@@ -41,14 +41,6 @@ ...@@ -41,14 +41,6 @@
#define CONST const #define CONST const
#endif #endif
/*===========================================================================*/
/* NULL (Definition is language specific) */
/*===========================================================================*/
#ifndef NULL
#define NULL ((void *)0) /* Null pointer. */
#endif
/*===========================================================================*/ /*===========================================================================*/
/* NULL character (normally used for string termination) */ /* NULL character (normally used for string termination) */
/*===========================================================================*/ /*===========================================================================*/
......
...@@ -74,10 +74,6 @@ ...@@ -74,10 +74,6 @@
typedef s32(*fxn) (void); /* generic function type */ 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 are used to cast 'Arg' types to 's32' or 'Ptr'.
* These macros were added for the 55x since Arg is not the same * These macros were added for the 55x since Arg is not the same
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment