Skip to content

Commit d19ea32

Browse files
Yang Likwilczynski
authored andcommitted
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/[email protected] Reported-by: Abaci Robot <[email protected]> Signed-off-by: Yang Li <[email protected]> [kwilczynski: commit log] Signed-off-by: Krzysztof Wilczyński <[email protected]> Reviewed-by: Matthias Brugger <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]>
1 parent b609a15 commit d19ea32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/pci/controller/pcie-mediatek-gen3.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ static int mtk_pcie_startup_port(struct mtk_gen3_pcie *pcie)
411411
if (pcie->num_lanes > 1)
412412
val |= FIELD_PREP(PCIE_SETTING_LINK_WIDTH,
413413
GENMASK(fls(pcie->num_lanes >> 2), 0));
414-
};
414+
}
415415
writel_relaxed(val, pcie->base + PCIE_SETTING_REG);
416416

417417
/* Set Link Control 2 (LNKCTL2) speed restriction, if any */

0 commit comments

Comments
 (0)