diff options
| author | Heinrich Schuchardt <[email protected]> | 2022-10-12 19:13:11 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-12-06 15:30:30 -0500 |
| commit | f17fe71222e5fa0975089772e22b45979f202eff (patch) | |
| tree | 16564e5c63e0389bd0b2d4cbc2fda2c6bfb03346 /scripts/basic | |
| parent | d2ad92927ea91ab8cece92a308350602c594dd3e (diff) | |
powerpc: fix fdt_fixup_liodn_tbl_fman()
Builiding with GCC 12.2 fails:
arch/powerpc/cpu/mpc85xx/liodn.c: In function 'fdt_fixup_liodn_tbl_fman':
arch/powerpc/cpu/mpc85xx/liodn.c:340:35: error: the comparison will
always evaluate as 'false' for the address of 'compat'
will never be NULL [-Werror=address]
340 | if (tbl[i].compat == NULL)
|
Remove the superfluous check.
Fixes: 97a8d010e029 ("net/fman: Support both new and legacy FMan Compatibles")
Signed-off-by: Heinrich Schuchardt <[email protected]>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
