]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: remove set but rewrite variables
authorTian Tao <tiantao6@hisilicon.com>
Thu, 20 May 2021 06:55:52 +0000 (14:55 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 23 Jun 2021 01:34:17 +0000 (21:34 -0400)
commit5cd4cdf775e8f0a105440360f08cdbeef666b0c1
treea36a90156afaaf254fb845021dd590014407c4ec
parent4f44988bb48f2c2241ff0899e0e3a9a1234cc2f0
ext4: remove set but rewrite variables

In the ext4_dx_add_entry function, the at variable is assigned but will
reset just after “again:” label. So delete the unnecessary assignment.
this will not chang the logic.

Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Reviewed-by: Artem Blagodarenko <artem.blagodarenko@gmail.com>
Link: https://lore.kernel.org/r/1621493752-36890-1-git-send-email-tiantao6@hisilicon.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/namei.c