Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753385AbbFWF7w (ORCPT ); Tue, 23 Jun 2015 01:59:52 -0400 Received: from cantor2.suse.de ([195.135.220.15]:49595 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751207AbbFWF7u (ORCPT ); Tue, 23 Jun 2015 01:59:50 -0400 Message-ID: <5588F5D2.6080602@suse.de> Date: Tue, 23 Jun 2015 07:59:46 +0200 From: Hannes Reinecke User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Maninder Singh , JBottomley@odin.com, hch@lst.de, michaelc@cs.wisc.edu, martin.petersen@oracle.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org CC: pankaj.m@samsung.com Subject: Re: [PATCH 1/1] scsi: remove redundant NULL check before kfree References: <1435030950-35999-1-git-send-email-maninder1.s@samsung.com> In-Reply-To: <1435030950-35999-1-git-send-email-maninder1.s@samsung.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 684 Lines: 22 On 06/23/2015 05:42 AM, Maninder Singh wrote: > There is no need of NULL check before kfree, > So removing the same. > > Signed-off-by: Maninder Singh > Reviewed-by: Rohit Thapliyal If you insist ... Reviewed-by: Hannes Reinecke Cheers, Hannes -- Dr. Hannes Reinecke zSeries & Storage hare@suse.de +49 911 74053 688 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 N?rnberg GF: F. Imend?rffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB 21284 (AG N?rnberg) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in Please read the FAQ at http://www.tux.org/lkml/