fs/adfs: remove unneeded variable make code cleaner
authorMinghao Chi <chi.minghao@zte.com.cn>
Thu, 30 Dec 2021 09:29:13 +0000 (20:29 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Sun, 16 Jan 2022 07:39:38 +0000 (18:39 +1100)
commit5247e061a44e47cad7a3ba4ec5e516c2b71297f4
tree575b2a5c69979c47f4eb963be50747fa03421197
parent3a7e9c6e50119109e97ffa5d5265434bb752e0c0
fs/adfs: remove unneeded variable make code cleaner

return value form directly instead of
taking this in another redundant variable.

Link: https://lkml.kernel.org/r/20211210023211.424609-1-chi.minghao@zte.com.cn
Signed-off-by: Minghao Chi <chi.minghao@zte.com.cn>
Reported-by: Zeal Robot <zealci@zte.com.cm>
Cc: Christian Brauner <christian.brauner@ubuntu.com>
Cc: Jan Kara <jack@suse.cz>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
fs/adfs/inode.c