diff options
author | zhong jiang <zhongjiang@huawei.com> | 2019-09-04 18:03:28 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-09-04 19:14:46 +0200 |
commit | 59d45f2a4d4a9fbea07f285994cae31ac13f2493 (patch) | |
tree | d77e5d5e1229bd17efbefc61dcc703482f0a998e /drivers/reset | |
parent | 7f95bb6aa3dd4f732edb05fe64b255b27bcc97d2 (diff) |
staging: exfat: remove the redundant check when kfree an object in exfat_destroy_inode
kfree has taken the null check in account. hence it is unnecessary to add the
null check before kfree the object. Just remove it.
Reported-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Link: https://lore.kernel.org/r/1567591408-24268-1-git-send-email-zhongjiang@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/reset')
0 files changed, 0 insertions, 0 deletions