diff options
author | Chengguang Xu <cgxu519@gmx.com> | 2018-11-14 00:33:09 +0100 |
---|---|---|
committer | Shaohua Li <shli@fb.com> | 2018-12-20 17:53:24 +0100 |
commit | 37b22c28946046e587c12b2b5bdaba7062e23f75 (patch) | |
tree | a56b3806721628ea989eb9ab7a07fc01a0a18319 /drivers/md/raid10.c | |
parent | lib/raid6: add option to skip algo benchmarking (diff) | |
download | linux-37b22c28946046e587c12b2b5bdaba7062e23f75.tar.xz linux-37b22c28946046e587c12b2b5bdaba7062e23f75.zip |
md: remvoe redundant condition check
mempool_destroy() can handle NULL pointer correctly,
so there is no need to check NULL pointer before calling
mempool_destroy().
Signed-off-by: Chengguang Xu <cgxu519@gmx.com>
Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'drivers/md/raid10.c')
0 files changed, 0 insertions, 0 deletions