From: Con Kolivas Date: Fri, 23 Jun 2006 09:03:42 +0000 (-0700) Subject: [PATCH] mm: fix swap unused warning X-Git-Tag: v2.6.18-rc1~1081^2~170 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd96b9eb7cfd6ab24ba244360a09980a720874d2;p=pandora-kernel.git [PATCH] mm: fix swap unused warning If CONFIG_SWAP is not defined we get: mm/vmscan.c: In function ‘remove_mapping’: mm/vmscan.c:387: warning: unused variable ‘swap’ Convert defines in swap.h into blank inline functions to fix this warning and be consistent. Signed-off-by: Con Kolivas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed