diff options
author | Nishanth Menon | 2010-07-13 00:55:59 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2010-07-22 19:48:42 +0200 |
commit | 5e7680679e4ac852db7b03e232f3472f86d4c47f (patch) | |
tree | 403eab253aeed7290b47bff30ef86bfa77b0213d /drivers/staging/tidspbridge/gen | |
parent | staging: ti dspbridge: make variables in prototypes match within functions de... (diff) | |
download | kernel-qcow2-linux-5e7680679e4ac852db7b03e232f3472f86d4c47f.tar.gz kernel-qcow2-linux-5e7680679e4ac852db7b03e232f3472f86d4c47f.tar.xz kernel-qcow2-linux-5e7680679e4ac852db7b03e232f3472f86d4c47f.zip |
staging: tidspbridge: remove custom TRUE FALSE
bool has standard true and false, we dont need to introduce
our own TRUE and FALSE macros.
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/gen')
-rw-r--r-- | drivers/staging/tidspbridge/gen/gb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/tidspbridge/gen/gb.c b/drivers/staging/tidspbridge/gen/gb.c index f1a9dd37c4eb..d007233aa2a7 100644 --- a/drivers/staging/tidspbridge/gen/gb.c +++ b/drivers/staging/tidspbridge/gen/gb.c @@ -161,7 +161,7 @@ bool gb_test(struct gb_t_map *map, u32 bitn) mask = 1L << (bitn % BITS_PER_LONG); word = map->words[bitn / BITS_PER_LONG]; - state = word & mask ? TRUE : FALSE; + state = word & mask ? true : false; return state; } |