From da8421d1e2ee715b6ae396d1ab064c4c3f8a77fb Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Thu, 15 Dec 2016 15:17:45 +0100 Subject: util/romcc: remove self-assignment Change-Id: I0f78b55b28011cdefc90665bca2a7ea17647e955 Signed-off-by: Patrick Georgi Found-by: Coverity Scan #1129127 Reviewed-on: https://review.coreboot.org/17885 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth Reviewed-by: Paul Menzel --- util/romcc/romcc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/util/romcc/romcc.c b/util/romcc/romcc.c index 655e6f5ed1..7b5e5d7e12 100644 --- a/util/romcc/romcc.c +++ b/util/romcc/romcc.c @@ -20919,7 +20919,6 @@ static void scc_visit_phi(struct compile_state *state, struct scc_state *scc, } /* meet(X, lattice high) = X */ else if (is_lattice_hi(state, tmp)) { - lnode->val = lnode->val; } /* meet(lattice high, X) = X */ else if (is_lattice_hi(state, lnode)) { -- cgit v1.2.3