Re: [PATCH -next] gpio: pxa: remove set but not used variable 'gpio_offset'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Aug 1, 2018 at 3:33 AM Wei Yongjun <weiyongjun1@xxxxxxxxxx> wrote:

> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/gpio/gpio-pxa.c: In function ‘pxa_gpio_probe’:
> drivers/gpio/gpio-pxa.c:629:35: warning:
>  variable ‘gpio_offset’ set but not used [-Wunused-but-set-variable]
>   int irq0 = 0, irq1 = 0, irq_mux, gpio_offset = 0;
>                                    ^
>
> Signed-off-by: Wei Yongjun <weiyongjun1@xxxxxxxxxx>

Fixed up the funny characters and applied with Robert's ACK!

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux