]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
gpio: omap: Remove set but not used variable 'dev'
authorYueHaibing <yuehaibing@huawei.com>
Fri, 28 Sep 2018 02:17:48 +0000 (02:17 +0000)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 1 Oct 2018 11:24:47 +0000 (13:24 +0200)
commit850d434ea37bd2e15154501279abc5c18bfb72d0
treee5c0d966e2ec1a8ecbd6967168a4ae07aa6e04ef
parentc4791bc6e3a6b95bed0ee72cf9784ecbb87074ee
gpio: omap: Remove set but not used variable 'dev'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/gpio/gpio-omap.c: In function 'gpio_omap_cpu_notifier':
drivers/gpio/gpio-omap.c:1327:17: warning:
 variable 'dev' set but not used [-Wunused-but-set-variable]

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-omap.c