ofproto-dpif-xlate: Eliminate duplicate read of xcfgp.
This inner 'xcfg' shadowed the outer one and could have read a different
value if 'xcfgp' was changing, so this is possibly a bug fix.
Found by -Wshadow=local in GCC 7.
Acked-by: Andy Zhou
@@ -6679,7 +6679,6 @@ xlate_actions(struct xlate_in *xin, struct xlate_out *xout)
/* Set the bridge for post-recirculation processing if needed. */
if (!uuid_equals(&ctx.xbridge->ofproto->uuid, &state->ofproto_uuid)) {
- struct xlate_cfg *xcfg = ovsrcu_get(struct xlate_cfg *, &xcfgp);
const struct xbridge *new_bridge
= xbridge_lookup_by_uuid(xcfg, &state->ofproto_uuid);
