aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorChengguang Xu <cgxu519@gmx.com>2018-06-12 19:48:52 +0800
committerThomas Gleixner <tglx@linutronix.de>2018-08-02 14:27:35 +0200
commit765d28f136291f9639e3c031a1070fb76d6625c7 (patch)
tree0680d7f3c4cd2fba4ad2fc647b40a06bbbf0fbd9 /mm
parentarm/asm/tlb.h: Fix build error implicit func declaration (diff)
downloadlinux-dev-765d28f136291f9639e3c031a1070fb76d6625c7.tar.xz
linux-dev-765d28f136291f9639e3c031a1070fb76d6625c7.zip
x86/mm: Remove redundant check for kmem_cache_create()
The flag 'SLAB_PANIC' implies panic on failure, So there is no need to check the returned pointer for NULL. Signed-off-by: Chengguang Xu <cgxu519@gmx.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: hpa@zytor.com Link: https://lkml.kernel.org/r/1528804132-154948-1-git-send-email-cgxu519@gmx.com
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions