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 <tapaswenipathak@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Tapasweni Pathak 2014-10-22 11:23:57 +05:30 committed by Greg Kroah-Hartman
parent 817c66c4f5
commit 17fbab1ee9
1 changed files with 1 additions and 1 deletions

View File

@ -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);