aboutsummaryrefslogtreecommitdiff
path: root/drivers/misc
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2009-02-04 15:11:59 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2009-02-05 12:56:46 -0800
commitac7b9004909d03d67016368093e81d37cae72895 (patch)
tree089cd0432d3c93b14dbd9d0178bfe2fa19690fd1 /drivers/misc
parentc073b2db006ba9370be1eecc36a1be1d9ce31310 (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>
Diffstat (limited to 'drivers/misc')
0 files changed, 0 insertions, 0 deletions