Skip to content
Snippets Groups Projects
Commit 9fbed254 authored by Alexey Klimov's avatar Alexey Klimov Committed by Linus Torvalds
Browse files

mm/kmemleak.c: remove unneeded initialization of object to NULL


Few lines below object is reinitialized by lookup_object() so we don't
need to init it by NULL in the beginning of find_and_get_object().

Signed-off-by: default avatarAlexey Klimov <alexey.klimov@linaro.org>
Acked-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent d4322d88
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment