mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-24 12:03:39 +00:00
872a9b81ee
Compiling with GCC-12 leads to an error:
+board/xilinx/common/board.c:479:37: error: the comparison will always
evaluate as 'true' for the address of 'mac_addr' will never be NULL
[-Werror=address]
+ 479 | if (!desc->mac_addr[i])
+ | ^
Remove the redundant check.
Fixes:
|
||
---|---|---|
.. | ||
board.c | ||
board.h | ||
cpu-info.c | ||
fru.c | ||
fru.h | ||
fru_ops.c | ||
Makefile |