]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4028fb2c923c4c05fb47e0740f93caefb4d0aa97
treedd514029be7fda0306e708377e99001852cde652
parentf5ea12f61bf06a4c65d222df795ec35b9fd0d6af
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