OSDN Git Service

fs/adfs: remove unneeded variable make code cleaner
authorMinghao Chi <chi.minghao@zte.com.cn>
Thu, 20 Jan 2022 02:09:53 +0000 (18:09 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 20 Jan 2022 06:52:55 +0000 (08:52 +0200)
commit25d2e88632c9069cb21e23340e14cd19b8a0b1df
treedd514029be7fda0306e708377e99001852cde652
parent9bb56d592532526f638468ed0781b7ab7925a1ec
fs/adfs: remove unneeded variable make code cleaner

Return value directly instead of taking this in a 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: Linus Torvalds <torvalds@linux-foundation.org>
fs/adfs/inode.c