Commit a5fa9c82 authored by Bang Li's avatar Bang Li Committed by Greg Kroah-Hartman
Browse files

fsnotify: remove redundant parameter judgment

[ Upstream commit f92ca72b ]

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: default avatarBang Li <libang.linuxer@gmail.com>
Signed-off-by: default avatarJan Kara <jack@suse.cz>
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 552c24a3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment