diff options
author | Yang Li <yang.lee@linux.alibaba.com> | 2024-11-11 09:09:35 +0800 |
---|---|---|
committer | Krzysztof Wilczyński <kwilczynski@kernel.org> | 2024-11-13 17:26:33 +0000 |
commit | d19ea320d3029a12993c671f4815bf6c02ae0727 (patch) | |
tree | 4880c510bd04b69785d18489b221b4d3ae21d0fb /drivers/pci/controller | |
parent | b609a15e7969d6a50d65067ee783b5d9365b04dd (diff) |
PCI: mediatek-gen3: Remove unneeded semicolon
Remove a surplus semicolon and fix the following warning:
./drivers/pci/controller/pcie-mediatek-gen3.c:414:2-3: Unneeded semicolon
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=11789
Link: https://lore.kernel.org/r/20241111010935.20208-1-yang.lee@linux.alibaba.com
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
[kwilczynski: commit log]
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Diffstat (limited to 'drivers/pci/controller')
-rw-r--r-- | drivers/pci/controller/pcie-mediatek-gen3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/controller/pcie-mediatek-gen3.c b/drivers/pci/controller/pcie-mediatek-gen3.c index bbfbfe5752e6..64ef8ff71b03 100644 --- a/drivers/pci/controller/pcie-mediatek-gen3.c +++ b/drivers/pci/controller/pcie-mediatek-gen3.c @@ -411,7 +411,7 @@ static int mtk_pcie_startup_port(struct mtk_gen3_pcie *pcie) if (pcie->num_lanes > 1) val |= FIELD_PREP(PCIE_SETTING_LINK_WIDTH, GENMASK(fls(pcie->num_lanes >> 2), 0)); - }; + } writel_relaxed(val, pcie->base + PCIE_SETTING_REG); /* Set Link Control 2 (LNKCTL2) speed restriction, if any */ |