From: Jeff Liu Date: Fri, 9 Nov 2012 03:04:29 +0000 (+1100) Subject: mm/vmscan.c: try_to_freeze() returns boolean X-Git-Tag: next-20121112~5^2~160 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=936e3e025904c667588438f5432d927d59aa3c5d;p=karo-tx-linux.git mm/vmscan.c: try_to_freeze() returns boolean kswapd()->try_to_freeze() is defined to return a boolean, so it's better to use a bool to hold its return value. Signed-off-by: Jie Liu Signed-off-by: Andrew Morton --- diff --git a/mm/vmscan.c b/mm/vmscan.c index 6b0413eb6955..370244c00e44 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c @@ -2986,7 +2986,7 @@ static int kswapd(void *p) classzone_idx = new_classzone_idx = pgdat->nr_zones - 1; balanced_classzone_idx = classzone_idx; for ( ; ; ) { - int ret; + bool ret; /* * If the last balance_pgdat was unsuccessful it's unlikely a