diff options
author | Chengguang Xu <cgxu519@gmx.com> | 2018-11-14 02:33:09 +0300 |
---|---|---|
committer | Shaohua Li <shli@fb.com> | 2018-12-20 19:53:24 +0300 |
commit | 37b22c28946046e587c12b2b5bdaba7062e23f75 (patch) | |
tree | a56b3806721628ea989eb9ab7a07fc01a0a18319 /drivers/md/raid10.c | |
parent | be85f93ae2df32dea0b20908316f1d894c3e0f64 (diff) | |
download | linux-37b22c28946046e587c12b2b5bdaba7062e23f75.tar.xz |
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