From: Tapasweni Pathak Date: Wed, 22 Oct 2014 05:53:57 +0000 (+0530) Subject: staging: android: Assign bool to true X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=17fbab1ee9a3e5d2a070450a0c76a3434278bc96;p=openwrt%2Fstaging%2Fblogic.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);