libnl-tiny: Remove GENL_ID_GENERATE
[openwrt/openwrt.git] / package / libs / libnl-tiny / src / include / netlink / genl / family.h
index b7cf48fb78044e27ed8dd792c8558a213cb6c343..8a1a38ba25d5a5c89a2111b1e8aafb3f5c525843 100644 (file)
@@ -62,7 +62,7 @@ static inline unsigned int genl_family_get_id(struct genl_family *family)
        if (family->ce_mask & FAMILY_ATTR_ID)
                return family->gf_id;
        else
-               return GENL_ID_GENERATE;
+               return 0;
 }
 
 static inline void genl_family_set_id(struct genl_family *family, unsigned int id)