soc: qcom: geni: Fix unused label warning
authorYueHaibing <yuehaibing@huawei.com>
Wed, 22 Jul 2020 02:06:19 +0000 (10:06 +0800)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 30 Jul 2020 05:10:30 +0000 (22:10 -0700)
commit0fec8617a1df7b676b8a1d7afea2c4af1f4f963e
treecd9002ccce23181c5dc9cbaf3be28857fc493000
parente434e0c41f1a6208b8e66612718ee89768e0fbc2
soc: qcom: geni: Fix unused label warning

If CONFIG_SERIAL_EARLYCON is not set, gcc warns this:

drivers/soc/qcom/qcom-geni-se.c: In function 'geni_se_probe'
drivers/soc/qcom/qcom-geni-se.c:914:1: warning: label 'exit' defined but not used [-Wunused-label]
 exit:
 ^~~~

Fixes: 048eb908a1f2 ("soc: qcom-geni-se: Add interconnect support to fix earlycon crash")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20200722020619.25988-1-yuehaibing@huawei.com
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/soc/qcom/qcom-geni-se.c