From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752025AbbJMIpK (ORCPT ); Tue, 13 Oct 2015 04:45:10 -0400 Received: from mail-wi0-f179.google.com ([209.85.212.179]:38144 "EHLO mail-wi0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751342AbbJMIpG (ORCPT ); Tue, 13 Oct 2015 04:45:06 -0400 Date: Tue, 13 Oct 2015 09:45:03 +0100 From: Lee Jones To: Sudip Mukherjee Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] mfd: lm3533: fix build warning Message-ID: <20151013084503.GC32409@x1> References: <1444220929-18949-1-git-send-email-sudipm.mukherjee@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1444220929-18949-1-git-send-email-sudipm.mukherjee@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 07 Oct 2015, Sudip Mukherjee wrote: > We were getting build warning about unused variable 'ret'. > The commit c749db571dcf has removed the use of ret but missed removing > the variable which is unused now. > > Fixes: c749db571dcf ("mfd: lm3533: Simplify function return logic") > Signed-off-by: Sudip Mukherjee > --- > drivers/mfd/lm3533-core.c | 1 - > 1 file changed, 1 deletion(-) Applied, thanks. > diff --git a/drivers/mfd/lm3533-core.c b/drivers/mfd/lm3533-core.c > index 193ecee1..5abcbb2 100644 > --- a/drivers/mfd/lm3533-core.c > +++ b/drivers/mfd/lm3533-core.c > @@ -592,7 +592,6 @@ static int lm3533_i2c_probe(struct i2c_client *i2c, > const struct i2c_device_id *id) > { > struct lm3533 *lm3533; > - int ret; > > dev_dbg(&i2c->dev, "%s\n", __func__); > -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog