diff options
author | Peter Zijlstra <[email protected]> | 2009-02-04 15:11:59 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2009-02-05 12:56:46 -0800 |
commit | ac7b9004909d03d67016368093e81d37cae72895 (patch) | |
tree | 089cd0432d3c93b14dbd9d0178bfe2fa19690fd1 /lib/string_helpers.c | |
parent | c073b2db006ba9370be1eecc36a1be1d9ce31310 (diff) |
generic swap(): don't return a value from swap()
The swap() macro is accidentally retuning the value of its first argument.
Change it into a doesn't-return-anything macro before someone goes and
relies upon this behaviour.
Signed-off-by: Peter Zijlstra <[email protected]>
Cc: Wu Fengguang <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions