diff options
author | YueHaibing <yuehaibing@huawei.com> | 2020-02-18 10:36:25 +0800 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2020-02-20 16:13:31 +0100 |
commit | 86ecb7d6853c77711c14cb6600179196f179ee2d (patch) | |
tree | 90708b8b88e0bdbe118488a40a102b19ac1e6889 /drivers/pinctrl/sunxi | |
parent | 56cc3af4e8c8eaba91b51efa6081a868adbd97c3 (diff) | |
download | linux-stable-86ecb7d6853c77711c14cb6600179196f179ee2d.tar.gz linux-stable-86ecb7d6853c77711c14cb6600179196f179ee2d.tar.bz2 linux-stable-86ecb7d6853c77711c14cb6600179196f179ee2d.zip |
pinctrl: mediatek: remove set but not used variable 'e'
drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c: In function mtk_hw_pin_field_lookup:
drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c:70:39: warning:
variable e set but not used [-Wunused-but-set-variable]
Since commit 3de7deefce69 ("pinctrl: mediatek: Check gpio pin
number and use binary search in mtk_hw_pin_field_lookup()"),
it is not used any more, so remove it, also remove redundant
assignment to variable c, it will be assigned a new value later
before used.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Link: https://lore.kernel.org/r/20200218023625.14324-1-yuehaibing@huawei.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/sunxi')
0 files changed, 0 insertions, 0 deletions