kconfig: return 'false' instead of 'no' in bool function
[carl9170fw.git] / config / menu.c
index b05cc3d4a9bea0fff7e4902e848372bb587be5cb..aed678e8a77750812bb9e49b7d9e7c6e32f9eea1 100644 (file)
@@ -477,7 +477,7 @@ bool menu_is_visible(struct menu *menu)
 
        if (menu->visibility) {
                if (expr_calc_value(menu->visibility) == no)
-                       return no;
+                       return false;
        }
 
        sym = menu->sym;