Skip to content

Commit 69f7321

Browse files
LiaoYuanhong-vivokleikamp
authored andcommitted
JFS: Remove unnecessary parentheses
When using &, it's unnecessary to have parentheses afterward. Remove redundant parentheses to enhance readability. Signed-off-by: Liao Yuanhong <liaoyuanhong@vivo.com> Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
1 parent 300b072 commit 69f7321

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

fs/jfs/jfs_mount.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -325,13 +325,13 @@ static int chkSuper(struct super_block *sb)
325325
if ((j_sb->s_flag & cpu_to_le32(JFS_BAD_SAIT)) !=
326326
cpu_to_le32(JFS_BAD_SAIT)) {
327327
expected_AIM_bytesize = 2 * PSIZE;
328-
AIM_bytesize = lengthPXD(&(j_sb->s_aim2)) * bsize;
328+
AIM_bytesize = lengthPXD(&j_sb->s_aim2) * bsize;
329329
expected_AIT_bytesize = 4 * PSIZE;
330-
AIT_bytesize = lengthPXD(&(j_sb->s_ait2)) * bsize;
331-
AIM_byte_addr = addressPXD(&(j_sb->s_aim2)) * bsize;
332-
AIT_byte_addr = addressPXD(&(j_sb->s_ait2)) * bsize;
330+
AIT_bytesize = lengthPXD(&j_sb->s_ait2) * bsize;
331+
AIM_byte_addr = addressPXD(&j_sb->s_aim2) * bsize;
332+
AIT_byte_addr = addressPXD(&j_sb->s_ait2) * bsize;
333333
byte_addr_diff0 = AIT_byte_addr - AIM_byte_addr;
334-
fsckwsp_addr = addressPXD(&(j_sb->s_fsckpxd)) * bsize;
334+
fsckwsp_addr = addressPXD(&j_sb->s_fsckpxd) * bsize;
335335
byte_addr_diff1 = fsckwsp_addr - AIT_byte_addr;
336336
if ((AIM_bytesize != expected_AIM_bytesize) ||
337337
(AIT_bytesize != expected_AIT_bytesize) ||

0 commit comments

Comments
 (0)