From 8a443b9aded5a2e78871484b80c09a94bf54708d Mon Sep 17 00:00:00 2001 From: Jacob Garber Date: Mon, 24 Jun 2019 16:37:45 -0600 Subject: sb/amd/rs780: Remove dead assignment We return immediately after, so this assignment can be removed. Change-Id: I2a317ada0132a40b623402055b3b995bde80ddf5 Signed-off-by: Jacob Garber Found-by: scan-build 8.0.0 Reviewed-on: https://review.coreboot.org/c/coreboot/+/33773 Tested-by: build bot (Jenkins) Reviewed-by: HAOUAS Elyes Reviewed-by: Angel Pons --- src/southbridge/amd/rs780/cmn.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/southbridge/amd') diff --git a/src/southbridge/amd/rs780/cmn.c b/src/southbridge/amd/rs780/cmn.c index 17ca98079a..1520748796 100644 --- a/src/southbridge/amd/rs780/cmn.c +++ b/src/southbridge/amd/rs780/cmn.c @@ -263,7 +263,6 @@ u8 PcieTrainPort(struct device *nb_dev, struct device *dev, u32 port) gfx_gpp_sb_sel = PCIE_CORE_INDEX_GPP; break; default: - gfx_gpp_sb_sel = -1; return 0; } -- cgit v1.2.3