diff options
author | 2021-02-24 12:00:34 -0800 | |
---|---|---|
committer | 2021-02-24 13:38:26 -0800 | |
commit | 6efb59499aff080e6a9f1485ff968918c30c5b0c (patch) | |
tree | cf542848cf7c9965fdc1b282556ebbf5c18f45e7 /net | |
parent | ntfs: check for valid standard information attribute (diff) | |
download | linux-6efb59499aff080e6a9f1485ff968918c30c5b0c.tar.gz linux-6efb59499aff080e6a9f1485ff968918c30c5b0c.tar.bz2 linux-6efb59499aff080e6a9f1485ff968918c30c5b0c.zip |
ocfs2: remove redundant conditional before iput
iput handles NULL pointers gracefully, so there's no need to check the
pointer before the call.
Link: https://lkml.kernel.org/r/20201231040535.4091761-1-yili@winhong.com
Signed-off-by: Yi Li <yili@winhong.com>
Acked-by: Joseph Qi <joseph.qi@linux.alibaba.com>
Cc: Mark Fasheh <mark@fasheh.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Cc: Changwei Ge <gechangwei@live.cn>
Cc: Gang He <ghe@suse.com>
Cc: Jun Piao <piaojun@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions