From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YID9S-0002un-F0 for barebox@lists.infradead.org; Mon, 02 Feb 2015 09:18:39 +0000 Date: Mon, 2 Feb 2015 10:18:10 +0100 From: Sascha Hauer Message-ID: <20150202091810.GY12209@pengutronix.de> References: <1422759506-27440-1-git-send-email-yamada.m@jp.panasonic.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1422759506-27440-1-git-send-email-yamada.m@jp.panasonic.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH] pinctrl: remove unnecessary error check To: Masahiro Yamada Cc: barebox@lists.infradead.org On Sun, Feb 01, 2015 at 11:58:26AM +0900, Masahiro Yamada wrote: > The file drivers/pinctrl/pinctrl.c is compiled only when > CONFIG_PINCTRL is defined. "IS_ENABLED(CONFIG_PINCTRL)" is > always evaluated as 1 in this function. > (Although the compiler would optimize it, the source file does > not look nice.) > > Signed-off-by: Masahiro Yamada > --- > > drivers/pinctrl/pinctrl.c | 3 --- > 1 file changed, 3 deletions(-) Applied, thanks Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox