[PATCH 1/3] ARM: CCMX51: Remove excess assignment
Sascha Hauer
sha at pengutronix.de
Tue Apr 19 23:45:16 PDT 2022
On Tue, Apr 19, 2022 at 10:21:21AM +0300, Alexander Shiyan wrote:
> Default assignment for board index is already done in array initialization.
>
> Signed-off-by: Alexander Shiyan <eagle.alexander923 at gmail.com>
> ---
> arch/arm/boards/ccxmx51/ccxmx51.c | 2 --
> 1 file changed, 2 deletions(-)
Applied, thanks
Sascha
>
> diff --git a/arch/arm/boards/ccxmx51/ccxmx51.c b/arch/arm/boards/ccxmx51/ccxmx51.c
> index dfc26cd835..cbf06e6cd6 100644
> --- a/arch/arm/boards/ccxmx51/ccxmx51.c
> +++ b/arch/arm/boards/ccxmx51/ccxmx51.c
> @@ -245,8 +245,6 @@ static __init int ccxmx51_init(void)
> hang();
> }
>
> - ccxmx_id = &ccxmx51_ids[hwid[0]];
> -
> switch (hwid[2] & 0xc0) {
> case 0x00:
> manloc = 'B';
> --
> 2.32.0
>
>
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list