ext4: remove useless if check
authorAntonio Quartulli <antonio@mandelbit.com>
Mon, 21 Jul 2025 20:09:02 +0000 (22:09 +0200)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 13 Aug 2025 03:15:05 +0000 (23:15 -0400)
commitf3fbaa74d999c16b5caeca779e6d7e6e6e7feed8
treecb58ef80631452bbe140a1996bfba96fc9e0eeed
parentb4cc4a4077268522e3d0d34de4b2dc144e2330fa
ext4: remove useless if check

This if branch is only jumping to 'out' which
is defined just after the branch itself.
Hence this is if-check is a no-op and can be removed.

Address-Coverity-ID: 1647981 ("Incorrect expression  (IDENTICAL_BRANCHES)")
Signed-off-by: Antonio Quartulli <antonio@mandelbit.com>
Link: https://patch.msgid.link/20250721200902.1071-1-antonio@mandelbit.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/namei.c