kconfig: remove 'optional' property support
[linux-2.6-block.git] / scripts / kconfig / lkc.h
index 5e27432e493984ff8f1abac99c1811de06a8e29e..64dfc354dd5c1737ff2eb90a2f62f55ec641b7df 100644 (file)
@@ -138,11 +138,6 @@ static inline bool sym_is_choice_value(struct symbol *sym)
        return sym->flags & SYMBOL_CHOICEVAL ? true : false;
 }
 
-static inline bool sym_is_optional(struct symbol *sym)
-{
-       return sym->flags & SYMBOL_OPTIONAL ? true : false;
-}
-
 static inline bool sym_has_value(struct symbol *sym)
 {
        return sym->flags & SYMBOL_DEF_USER ? true : false;