diff options
author | Chengguang Xu <cgxu519@gmx.com> | 2018-08-28 02:50:08 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-08-30 14:36:48 +0300 |
commit | b6876a8407d042de369105e8c86299c83a4fdab1 (patch) | |
tree | 8445bf7971b69d44027106b092fcad6592164093 /drivers/i2c/busses | |
parent | 26c724a690a1cd10575365da90b5b4040278a6c5 (diff) | |
download | linux-b6876a8407d042de369105e8c86299c83a4fdab1.tar.xz |
scsi: libfc: remove unnecessary condition check
kmem_cache_destroy() can handle NULL pointer correctly, so there is no
need to check NULL pointer before calling kmem_cache_destroy()
Signed-off-by: Chengguang Xu <cgxu519@gmx.com>
Acked-by: Johannes Thumshirn <jth@kernel.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/i2c/busses')
0 files changed, 0 insertions, 0 deletions