]> git.baikalelectronics.ru Git - kernel.git/commit
include/linux/mm.h: remove unneeded ifdef
authorHuang Shijie <shijie8@gmail.com>
Tue, 15 Dec 2009 01:59:51 +0000 (17:59 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 15 Dec 2009 16:53:22 +0000 (08:53 -0800)
commit98edb45d0636e3af184b6cbcfbe154ddf2a5379a
tree8d48bf8456ba98a1f9fe372b7550b2996162da3b
parent29610e83cc8117d68261e3468ad4c1cec9627ffd
include/linux/mm.h: remove unneeded ifdef

The check code for CONFIG_SWAP is redundant, because there is a
non-CONFIG_SWAP version for PageSwapCache() which just returns 0.

Signed-off-by: Huang Shijie <shijie8@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/mm.h