rtl8188eu: Replace _FALSE and _TRUE

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2014-12-28 20:13:24 -06:00
parent 17d1637977
commit 06334102cd
68 changed files with 2553 additions and 2572 deletions

View file

@ -29,13 +29,6 @@
#define RTW_RX_HANDLED 2
//#define RTW_STATUS_TIMEDOUT -110
#undef _TRUE
#define _TRUE 1
#undef _FALSE
#define _FALSE 0
#include <linux/version.h>
#include <linux/spinlock.h>
#include <linux/compiler.h>
@ -280,7 +273,7 @@ __inline static void _set_timer(_timer *ptimer,u32 delay_time)
__inline static void _cancel_timer(_timer *ptimer,u8 *bcancelled)
{
del_timer_sync(ptimer);
*bcancelled= _TRUE;//TRUE ==1; FALSE==0
*bcancelled= true;//TRUE ==1; FALSE==0
}
#define RTW_TIMER_HDL_ARGS void *FunctionContext