diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2016-03-31 09:09:12 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-03-31 09:14:22 +0200 |
commit | ab503238ff6974b9a51d328c2a55c505064c64f7 (patch) | |
tree | 697aead7277dd1b1b69bfc54a9b38003166d2007 /kernel/irq/irqdomain.c | |
parent | input: ad7879: use gpiochip data pointer (diff) | |
download | linux-ab503238ff6974b9a51d328c2a55c505064c64f7.tar.xz linux-ab503238ff6974b9a51d328c2a55c505064c64f7.zip |
powerpc: ppc4xx: drop unused variable
commit 0d36fe65f58391712e11a6621075f373216e5f00
"powerpc: ppc4xx: use gpiochip data pointer"
made the mm_gc local variable in ppc4xx_gpio_set()
redundant, and when GCC treats warnings as errors this
happens:
arch/powerpc/sysdev/ppc4xx_gpio.c: In function 'ppc4xx_gpio_set':
arch/powerpc/sysdev/ppc4xx_gpio.c:93:26: error:
unused variable 'mm_gc' [-Werror=unused-variable]
struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc);
^
cc1: all warnings being treated as errors
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Cc: Anatolij Gustschin <agust@denx.de>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: linuxppc-dev@lists.ozlabs.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'kernel/irq/irqdomain.c')
0 files changed, 0 insertions, 0 deletions