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)
commitb2d2e7573548295a14db999095fd1df40352c91a
treea36a90156afaaf254fb845021dd590014407c4ec
parentfd7b23be92059f14537cb9cac0f0894c3a9b1284
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