From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753996AbbGOGli (ORCPT ); Wed, 15 Jul 2015 02:41:38 -0400 Received: from muru.com ([72.249.23.125]:35427 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752175AbbGOGlg (ORCPT ); Wed, 15 Jul 2015 02:41:36 -0400 Date: Tue, 14 Jul 2015 23:41:33 -0700 From: Tony Lindgren To: SF Markus Elfring Cc: Russell King , linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, LKML , kernel-janitors@vger.kernel.org, Julia Lawall Subject: Re: [PATCH 0/2] ARM-OMAP2+: Deletion of unnecessary checks before two function calls Message-ID: <20150715064132.GZ17550@atomide.com> References: <530C5E18.1020800@users.sourceforge.net> <530CD2C4.4050903@users.sourceforge.net> <530CF8FF.8080600@users.sourceforge.net> <530DD06F.4090703@users.sourceforge.net> <5317A59D.4@users.sourceforge.net> <558BE713.1020409@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <558BE713.1020409@users.sourceforge.net> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * SF Markus Elfring [150625 04:35]: > From: Markus Elfring > Date: Thu, 25 Jun 2015 13:24:35 +0200 > > Some functions which release a system resource tolerate the passing > of a null pointer. I do not see a need because of this fact > that a function caller repeats a corresponding check. > > Markus Elfring (2): > Delete a check before the function call "omap_device_delete" > Delete a check before the function call "of_node_put" > > arch/arm/mach-omap2/omap_device.c | 3 +-- > arch/arm/mach-omap2/timer.c | 3 +-- > 2 files changed, 2 insertions(+), 4 deletions(-) Applying both into omap-for-v4.3/soc thanks. Tony