From: Yaroslav Furman Date: Fri, 22 Jun 2018 17:17:52 +0000 (+0300) Subject: fs: ecryptfs: fix parentheses-equality warning X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cebf169b49a006e97a1439b71ebf3faf90a713b4;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git fs: ecryptfs: fix parentheses-equality warning Signed-off-by: Yaroslav Furman --- diff --git a/fs/ecryptfs/mm.c b/fs/ecryptfs/mm.c index 797df5153cbb..12c3a0b47f9f 100644 --- a/fs/ecryptfs/mm.c +++ b/fs/ecryptfs/mm.c @@ -153,7 +153,7 @@ static unsigned long drop_inode_pagecache(struct inode *inode) { printk("%s() cleaning [%s] pages: %lu\n", __func__, inode->i_sb->s_type->name,inode->i_mapping->nrpages); - if ((inode->i_mapping->nrpages == 0)) { + if (inode->i_mapping->nrpages == 0) { spin_unlock(&inode->i_lock); printk("%s inode having zero nrpages\n", __func__); return 0;