]> 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)
commit1dc4e775aede50e63fabbbd868225a73e063b470
treedd514029be7fda0306e708377e99001852cde652
parent0dd05b21487eb6a9494539859d3ce99f502c565c
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