arm: mvebu: remove self assignment
authorxypron.glpk@gmx.de <xypron.glpk@gmx.de>
Sun, 30 Jul 2017 19:51:05 +0000 (21:51 +0200)
committerTom Rini <trini@konsulko.com>
Sun, 13 Aug 2017 19:17:30 +0000 (15:17 -0400)
Assigning dev_num to itself is superfluous.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/ddr/marvell/a38x/ddr3_training_centralization.c

index 9d216da96dce5de85ff644c7f0942e50f3e8a453..2909ae3c6f9a52df3f08e937a8ac18be28304ea9 100644 (file)
@@ -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++) {