[PATCH] fix warning in mm/memory for SWAP=n
commit2cec2dfff6dc4c5f33ac03f62b6dbb1516ad3d01
authorRandy Dunlap <rddunlap@osdl.org>
Tue, 7 Oct 2003 07:47:20 +0000 (7 00:47 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Tue, 7 Oct 2003 07:47:20 +0000 (7 00:47 -0700)
treecfe267027cc465ec92170512331716fc97d084cd
parent9b80ac47e771874c3a87f5be2b044415cd14c4a4
[PATCH] fix warning in mm/memory for SWAP=n

Avoid "statement with no effect" warning by making the macro
that doesn't do anything an inline function instead.
include/linux/swap.h