fsnotify: remove redundant parameter judgment
authorBang Li <libang.linuxer@gmail.com>
Fri, 11 Mar 2022 15:12:40 +0000 (23:12 +0800)
committerJan Kara <jack@suse.cz>
Mon, 14 Mar 2022 08:05:25 +0000 (09:05 +0100)
commitf92ca72b0263d601807bbd23ed25cbe6f4da89f4
treee912773ed496eabc96b1d33dc86f6c34eb54a186
parent04e317ba72d07901b03399b3d1525e83424df5b3
fsnotify: remove redundant parameter judgment

iput() has already judged the incoming parameter, so there is no need to
repeat the judgment here.

Link: https://lore.kernel.org/r/20220311151240.62045-1-libang.linuxer@gmail.com
Signed-off-by: Bang Li <libang.linuxer@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/notify/fsnotify.c