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@xxxxxxxxx> > --- > 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@xxxxxxxxxxxxxxxxxxx > 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 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox