[U-Boot] [PATCH 1/1] arm: mvebu: remove self assignment

Stefan Roese sr at denx.de
Tue Aug 8 12:18:17 UTC 2017


On 30.07.2017 21:51, Heinrich Schuchardt wrote:
> Assigning dev_num to itself is superfluous.
> 
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
>   drivers/ddr/marvell/a38x/ddr3_training_centralization.c | 2 --
>   1 file changed, 2 deletions(-)
> 
> 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++) {
> 

Reviewed-by: Stefan Roese <sr at denx.de>

Thanks,
Stefan


More information about the U-Boot mailing list