Re: [PATCH 1/1] mm: kmemleak: remove unneeded initialization of object to NULL

From: Catalin Marinas
Date: Thu Sep 10 2015 - 05:13:18 EST


On Thu, Sep 10, 2015 at 01:33:49AM +0300, Alexey Klimov wrote:
> 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@xxxxxxxxxx>

Acked-by: Catalin Marinas <catalin.marinas@xxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/