]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
fs/ntfs3: Remove '+' before constant in ni_insert_resident()
authorKari Argillander <kari.argillander@gmail.com>
Tue, 7 Sep 2021 08:34:38 +0000 (11:34 +0300)
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Thu, 16 Sep 2021 14:01:12 +0000 (17:01 +0300)
No need for plus sign here. So remove it. Checkpatch will also be happy.

Signed-off-by: Kari Argillander <kari.argillander@gmail.com>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
fs/ntfs3/frecord.c

index 080264ced9090a61825dbe00d96458c76538468b..df41eae8f7e1bf94800e6cb2b85de28ef992d6ee 100644 (file)
@@ -1448,7 +1448,7 @@ int ni_insert_resident(struct ntfs_inode *ni, u32 data_size,
                attr->res.flags = RESIDENT_FLAG_INDEXED;
 
                /* is_attr_indexed(attr)) == true */
-               le16_add_cpu(&ni->mi.mrec->hard_links, +1);
+               le16_add_cpu(&ni->mi.mrec->hard_links, 1);
                ni->mi.dirty = true;
        }
        attr->res.res = 0;