]> git.baikalelectronics.ru Git - kernel.git/commit
soc: fsl: qe: remove set but not used variable 'mm_gc'
authorYueHaibing <yuehaibing@huawei.com>
Wed, 8 Jan 2020 13:09:26 +0000 (21:09 +0800)
committerLi Yang <leoyang.li@nxp.com>
Wed, 8 Jan 2020 22:02:48 +0000 (16:02 -0600)
commit31eb8f9d2e34b826452ad0fbafc809fa33126c7c
tree4830e6693da0cf44a6606e9f1069f016a33dbf0f
parentc71fbc6f6325e913c98038dea1d1c2b8dd9e696d
soc: fsl: qe: remove set but not used variable 'mm_gc'

drivers/soc/fsl/qe/gpio.c: In function qe_pin_request:
drivers/soc/fsl/qe/gpio.c:163:26: warning: variable mm_gc set but not used [-Wunused-but-set-variable]

commit 3de16524f4e4 ("powerpc: qe_lib-gpio: use gpiochip data pointer")
left behind this unused variable.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Chen Zhou <chenzhou10@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
drivers/soc/fsl/qe/gpio.c