mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
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 <[email protected]> Reviewed-by: Felipe Contreras <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
5e7680679e
commit
86dd51e4c4
4 changed files with 0 additions and 25 deletions
|
|
@ -14,10 +14,6 @@
|
|||
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*/
|
||||
|
||||
#ifndef NULL
|
||||
#define NULL 0
|
||||
#endif
|
||||
|
||||
#include <linux/string.h>
|
||||
#define DL_STRCMP strcmp
|
||||
|
||||
|
|
|
|||
|
|
@ -19,15 +19,6 @@
|
|||
#ifndef _GLOBALTYPES_H
|
||||
#define _GLOBALTYPES_H
|
||||
|
||||
/*
|
||||
* Definition: NULL
|
||||
*
|
||||
* DESCRIPTION: Invalid pointer
|
||||
*/
|
||||
#ifndef NULL
|
||||
#define NULL (void *)0
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Definition: RET_CODE_BASE
|
||||
*
|
||||
|
|
|
|||
|
|
@ -41,14 +41,6 @@
|
|||
#define CONST const
|
||||
#endif
|
||||
|
||||
/*===========================================================================*/
|
||||
/* NULL (Definition is language specific) */
|
||||
/*===========================================================================*/
|
||||
|
||||
#ifndef NULL
|
||||
#define NULL ((void *)0) /* Null pointer. */
|
||||
#endif
|
||||
|
||||
/*===========================================================================*/
|
||||
/* NULL character (normally used for string termination) */
|
||||
/*===========================================================================*/
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue