From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753428AbbIJJNO (ORCPT ); Thu, 10 Sep 2015 05:13:14 -0400 Received: from eu-smtp-delivery-143.mimecast.com ([207.82.80.143]:30187 "EHLO eu-smtp-delivery-143.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750741AbbIJJNM convert rfc822-to-8bit (ORCPT ); Thu, 10 Sep 2015 05:13:12 -0400 Date: Thu, 10 Sep 2015 10:13:07 +0100 From: Catalin Marinas To: Alexey Klimov Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, akpm@linux-foundation.org, klimov.linux@gmail.com Subject: Re: [PATCH 1/1] mm: kmemleak: remove unneeded initialization of object to NULL Message-ID: <20150910091306.GB12294@localhost> References: <1441838029-4596-1-git-send-email-alexey.klimov@linaro.org> MIME-Version: 1.0 In-Reply-To: <1441838029-4596-1-git-send-email-alexey.klimov@linaro.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-OriginalArrivalTime: 10 Sep 2015 09:13:07.0912 (UTC) FILETIME=[E85BFC80:01D0EBA8] X-MC-Unique: PGTKv2XPRy-AvBIosOTonA-1 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: 8BIT Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Acked-by: Catalin Marinas