From: xypron.glpk@gmx.de Date: Sun, 30 Jul 2017 19:51:05 +0000 (+0200) Subject: arm: mvebu: remove self assignment X-Git-Tag: v2017.09-rc2~25 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a21d6363cc939ab53587c7705c697cb272044c3c;p=u-boot arm: mvebu: remove self assignment Assigning dev_num to itself is superfluous. Signed-off-by: Heinrich Schuchardt Reviewed-by: Stefan Roese --- diff --git a/drivers/ddr/marvell/a38x/ddr3_training_centralization.c b/drivers/ddr/marvell/a38x/ddr3_training_centralization.c index 9d216da96d..2909ae3c6f 100644 --- a/drivers/ddr/marvell/a38x/ddr3_training_centralization.c +++ b/drivers/ddr/marvell/a38x/ddr3_training_centralization.c @@ -697,8 +697,6 @@ int ddr3_tip_print_centralization_result(u32 dev_num) u32 if_id = 0, bus_id = 0; struct hws_topology_map *tm = ddr3_get_topology_map(); - dev_num = dev_num; - printf("Centralization Results\n"); printf("I/F0 Result[0 - success 1-fail 2 - state_2 3 - state_3] ...\n"); for (if_id = 0; if_id <= MAX_INTERFACE_NUM - 1; if_id++) {