mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-10 14:48:19 -04:00
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>
This commit is contained in:
committed by
Krzysztof Wilczyński
parent
b609a15e79
commit
d19ea320d3
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user