Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
board: gateworks: gw_ventana: fix building with GCC 12.2
Building with GCC 12.2 results in an error board/gateworks/gw_ventana/gw_ventana.c:636:68: error: the comparison will always evaluate as 'true' for the address of 'pwm_padmux' will never be NULL [-Werror=address] 636 | } else if (hwconfig_subarg_cmp(arg, "mode", "pwm") && | ^~ Remove the superfluous check. Signed-off-by: Heinrich Schuchardt <[email protected]> Reviewed-By: Tim Harvey <[email protected]> Reviewed-by: Fabio Estevam <[email protected]>
- Loading branch information