From: Tapasweni Pathak Date: Wed, 22 Oct 2014 05:53:57 +0000 (+0530) Subject: staging: android: Assign bool to true X-Git-Tag: v3.19-rc1~66^2~1044 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=17fbab1ee9a3e5d2a070450a0c76a3434278bc96;p=karo-tx-linux.git staging: android: Assign bool to true high is a bool type variable. bool variable should be assigned true, false not 1 or 0. This patch assigns high to true, replacing 1. Signed-off-by: Tapasweni Pathak Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/android/ion/ion_page_pool.c b/drivers/staging/android/ion/ion_page_pool.c index 5864f3dfcbc6..4b88f11e52d3 100644 --- a/drivers/staging/android/ion/ion_page_pool.c +++ b/drivers/staging/android/ion/ion_page_pool.c @@ -120,7 +120,7 @@ int ion_page_pool_shrink(struct ion_page_pool *pool, gfp_t gfp_mask, bool high; if (current_is_kswapd()) - high = 1; + high = true; else high = !!(gfp_mask & __GFP_HIGHMEM);