diff options
author | Nishanth Menon <nm@ti.com> | 2010-07-12 17:55:59 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-07-22 10:48:42 -0700 |
commit | 5e7680679e4ac852db7b03e232f3472f86d4c47f (patch) | |
tree | 403eab253aeed7290b47bff30ef86bfa77b0213d /drivers/staging/tidspbridge/gen | |
parent | c8c1ad8ce317c1e213db47f094d6eee8dec7d280 (diff) |
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 f1a9dd37c4e..d007233aa2a 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; } |