]> git.baikalelectronics.ru Git - kernel.git/commit
fatfs: remove redundant judgment
authorYubo Feng <fengyubo3@huawei.com>
Fri, 29 Apr 2022 21:38:02 +0000 (14:38 -0700)
committerakpm <akpm@linux-foundation.org>
Fri, 29 Apr 2022 21:38:02 +0000 (14:38 -0700)
commitea2c26d397c7384f97ff267d5293fb15a0ce6eed
tree3307cb1f9a65688b7de86e4005d0223abacf8b25
parentd8bc0433a4d208f2f971d258570c48186ae21b0c
fatfs: remove redundant judgment

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

Link: https://lkml.kernel.org/r/1648265418-76563-1-git-send-email-fengyubo3@huawei.com
Signed-off-by: Yubo Feng <fengyubo3@huawei.com>
Reported-by: Hulk Robot <hulkci@huawei.com>
Acked-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/fat/inode.c