]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
JFS: Remove unnecessary parentheses
authorLiao Yuanhong <liaoyuanhong@vivo.com>
Mon, 25 Aug 2025 13:36:49 +0000 (21:36 +0800)
committerDave Kleikamp <dave.kleikamp@oracle.com>
Thu, 18 Sep 2025 14:08:11 +0000 (09:08 -0500)
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>
fs/jfs/jfs_mount.c

index 98f9a432c33662f51b1236579299719bf732f11c..52e6b58c5dbd21e9b567c084e418b6c213f7da99 100644 (file)
@@ -325,13 +325,13 @@ static int chkSuper(struct super_block *sb)
        if ((j_sb->s_flag & cpu_to_le32(JFS_BAD_SAIT)) !=
            cpu_to_le32(JFS_BAD_SAIT)) {
                expected_AIM_bytesize = 2 * PSIZE;
-               AIM_bytesize = lengthPXD(&(j_sb->s_aim2)) * bsize;
+               AIM_bytesize = lengthPXD(&j_sb->s_aim2) * bsize;
                expected_AIT_bytesize = 4 * PSIZE;
-               AIT_bytesize = lengthPXD(&(j_sb->s_ait2)) * bsize;
-               AIM_byte_addr = addressPXD(&(j_sb->s_aim2)) * bsize;
-               AIT_byte_addr = addressPXD(&(j_sb->s_ait2)) * bsize;
+               AIT_bytesize = lengthPXD(&j_sb->s_ait2) * bsize;
+               AIM_byte_addr = addressPXD(&j_sb->s_aim2) * bsize;
+               AIT_byte_addr = addressPXD(&j_sb->s_ait2) * bsize;
                byte_addr_diff0 = AIT_byte_addr - AIM_byte_addr;
-               fsckwsp_addr = addressPXD(&(j_sb->s_fsckpxd)) * bsize;
+               fsckwsp_addr = addressPXD(&j_sb->s_fsckpxd) * bsize;
                byte_addr_diff1 = fsckwsp_addr - AIT_byte_addr;
                if ((AIM_bytesize != expected_AIM_bytesize) ||
                    (AIT_bytesize != expected_AIT_bytesize) ||