aboutsummaryrefslogtreecommitdiff
path: root/kernel/task_work.c
diff options
context:
space:
mode:
authorSergey Senozhatsky <sergey.senozhatsky@gmail.com>2015-09-08 15:04:55 -0700
committerMister Oyster <oysterized@gmail.com>2017-09-25 21:01:27 +0200
commit3d82d96a003436ad6dd6335bf3b0ccb9ab295927 (patch)
tree489d47c0b0826f14bbd5525ec186219845a23894 /kernel/task_work.c
parent1155bac9ff72583791f266ff57373ff26299fd23 (diff)
zsmalloc: remove null check from destroy_handle_cache()
We can pass a NULL cache pointer to kmem_cache_destroy(), because it NULL-checks its argument now. Remove redundant test from destroy_handle_cache(). Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> Acked-by: Minchan Kim <minchan@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/task_work.c')
0 files changed, 0 insertions, 0 deletions