]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm/kmemleak.c: remove unneeded initialization of object to NULL
authorAlexey Klimov <alexey.klimov@linaro.org>
Wed, 21 Oct 2015 22:02:54 +0000 (09:02 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 21 Oct 2015 22:02:54 +0000 (09:02 +1100)
commita015b6c5eed42585460e13985f76dce278317c6f
treee994ca9b712cde16252d89e48c6f24028c6812cb
parent671480af3e08afe42c9109ad5fe5dbdab51b57c3
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: Alexey Klimov <alexey.klimov@linaro.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/kmemleak.c