diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-02-20 13:57:45 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-20 17:10:12 -0800 |
commit | 7b8f850bebe093e37d283ed791039b39fa241e6d (patch) | |
tree | 5ecd31dda2658366a9e7feb4c8c6c95e01a57caf /net/atm/resources.c | |
parent | e696268a73f7f59a333624f9abf8ffc9412ee64c (diff) | |
download | blackbird-op-linux-7b8f850bebe093e37d283ed791039b39fa241e6d.tar.gz blackbird-op-linux-7b8f850bebe093e37d283ed791039b39fa241e6d.zip |
[PATCH] Fix build errors if bitop functions are do {} while macros
If one of clear_bit, change_bit or set_bit is defined as a do { } while (0)
function usage of these functions in parenthesis like
(foo_bit(23, &var))
while be expaned to something like
(do { ... } while (0)}).
resulting in a build error. This patch removes the useless parenthesis.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Cc: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/atm/resources.c')
0 files changed, 0 insertions, 0 deletions