efivarfs: Drop redundant cleanup on fill_super() failure
authorArd Biesheuvel <ardb@kernel.org>
Sat, 24 Feb 2024 17:45:41 +0000 (18:45 +0100)
committerArd Biesheuvel <ardb@kernel.org>
Sun, 25 Feb 2024 08:43:38 +0000 (09:43 +0100)
commit9ca01c7adf3993044f59934082087ebb9f7df6d5
tree3ebde3654d154e3d62f85476d1b8de2953d745a9
parentf45812cc23fb74bef62d4eb8a69fe7218f4b9f2a
efivarfs: Drop redundant cleanup on fill_super() failure

Al points out that kill_sb() will be called if efivarfs_fill_super()
fails and so there is no point in cleaning up the efivar entry list.

Reported-by: Alexander Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
fs/efivarfs/super.c