public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Lee Jones <lee.jones@linaro.org>
To: yu kuai <yukuai3@huawei.com>
Cc: linux-kernel@vger.kernel.org, yi.zhang@huawei.com, zhengbin13@huawei.com
Subject: Re: [PATCH] mfd: tqmx86: remove set but not used variable 'i2c_ien'
Date: Tue, 7 Jan 2020 14:21:35 +0000	[thread overview]
Message-ID: <20200107142135.GL14821@dell> (raw)
In-Reply-To: <20200103120925.460-1-yukuai3@huawei.com>

On Fri, 03 Jan 2020, yu kuai wrote:

> Fixes gcc '-Wunused-but-set-variable' warning:
> 
> drivers/mfd/tqmx86.c: In function ‘tqmx86_probe’:
> drivers/mfd/tqmx86.c:161:29: warning: variable ‘i2c_ien’
> set but not used I[-Wunused-but-set-variable]
> 
> It is never used, and so can be removed.
> 
> Signed-off-by: yu kuai <yukuai3@huawei.com>
> ---
>  drivers/mfd/tqmx86.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)

Applied, thanks.

-- 
Lee Jones [李琼斯]
Linaro Services Technical Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

      reply	other threads:[~2020-01-07 14:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-03 12:09 [PATCH] mfd: tqmx86: remove set but not used variable 'i2c_ien' yu kuai
2020-01-07 14:21 ` Lee Jones [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200107142135.GL14821@dell \
    --to=lee.jones@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=yi.zhang@huawei.com \
    --cc=yukuai3@huawei.com \
    --cc=zhengbin13@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox