commit | ac7b9004909d03d67016368093e81d37cae72895 | [log] [tgz] |
---|---|---|
author | Peter Zijlstra <peterz@infradead.org> | Wed Feb 04 15:11:59 2009 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Feb 05 12:56:46 2009 -0800 |
tree | 089cd0432d3c93b14dbd9d0178bfe2fa19690fd1 | |
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 <a.p.zijlstra@chello.nl> Cc: Wu Fengguang <wfg@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>