mm: drop unneeded double negations
Remove double negations where the operand is already boolean. Signed-off-by: Johannes Weiner <hannes@cmpxchg.org> Cc: Mel Gorman <mel@csn.ul.ie> Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:

committed by
Linus Torvalds

parent
bba7881954
commit
b7c46d151c
@@ -648,7 +648,7 @@ unsigned long mem_cgroup_isolate_pages(unsigned long nr_to_scan,
|
||||
int nid = z->zone_pgdat->node_id;
|
||||
int zid = zone_idx(z);
|
||||
struct mem_cgroup_per_zone *mz;
|
||||
int lru = LRU_FILE * !!file + !!active;
|
||||
int lru = LRU_FILE * file + active;
|
||||
int ret;
|
||||
|
||||
BUG_ON(!mem_cont);
|
||||
|
Reference in New Issue
Block a user