diff options
author | zhong jiang <zhongjiang@huawei.com> | 2018-10-30 23:05:37 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-10-31 16:54:13 +0100 |
commit | 7f476715d05f53915f0390e074a6988ce6a12f36 (patch) | |
tree | 9f59abf8200f2115fa39dbbfcb013cd61bca7dd0 /lib/kstrtox.c | |
parent | lib/zlib_inflate/inflate.c: remove fall through warnings (diff) | |
download | linux-7f476715d05f53915f0390e074a6988ce6a12f36.tar.xz linux-7f476715d05f53915f0390e074a6988ce6a12f36.zip |
lib/sg_pool.c: remove unnecessary null check when freeing object
mempool_destroy(NULL) and kmem_cache_destroy(NULL) are legal
Link: http://lkml.kernel.org/r/1533054107-35657-1-git-send-email-zhongjiang@huawei.com
Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/kstrtox.c')
0 files changed, 0 insertions, 0 deletions