]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
pinctrl: sirf: drop pointless static qualifier in sirfsoc_gpio_probe
authorYueHaibing <yuehaibing@huawei.com>
Wed, 23 Jan 2019 08:41:40 +0000 (16:41 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 28 Jan 2019 13:42:55 +0000 (14:42 +0100)
commit4f41e66cf555f74b5aa490684e72b4a6aa34988d
tree6e0427c960c624d334ff35b425f3be2b7fec1df0
parentff54d82b7716b9bbc8694afd63ebcdb465598cdc
pinctrl: sirf: drop pointless static qualifier in sirfsoc_gpio_probe

There is no need to have the 'sgpio' variable static since new
value always be assigned before use it.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/sirf/pinctrl-sirf.c