Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1567453

Re: [PATCH] pinctrl: mvebu: remove unused variable

From Linus Walleij <linus.walleij@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH] pinctrl: mvebu: remove unused variable
Date 2017-01-26 15:20 +0100
Message-ID <t3T46-8qV-5@gated-at.bofh.it> (permalink)
References <t2LLk-6l3-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Jan 23, 2017 at 1:17 PM, Arnd Bergmann <arnd@arndb.de> wrote:

> A cleanup caused a harmless warning:
>
> drivers/pinctrl/mvebu/pinctrl-kirkwood.c: In function 'kirkwood_pinctrl_probe':
> drivers/pinctrl/mvebu/pinctrl-kirkwood.c:460:19: error: unused variable 'res' [-Werror=unused-variable]
>
> The obvious fix is to remove the declaration of the now unused
> variable.
>
> Fixes: ad9ec4ecee68 ("pinctrl: mvebu: switch drivers to generic simple mmio")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

Patch applied.

Yours,
Linus Walleij

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH] pinctrl: mvebu: remove unused variable Arnd Bergmann <arnd@arndb.de> - 2017-01-23 13:20 +0100
  Re: [PATCH] pinctrl: mvebu: remove unused variable Linus Walleij <linus.walleij@linaro.org> - 2017-01-26 15:20 +0100

csiph-web