]> 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)
commit8ed72087f8e02c1f97f36c3b2840665eec4fabc7
tree3307cb1f9a65688b7de86e4005d0223abacf8b25
parentf241410b180443e1b84022ec1d3e1f9d912a92fa
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