libnl-tiny: remove some more functions to reduce binary size
[openwrt.git] / package / libnl-tiny / src / genl_mngt.c
index 5df9a6e..6c65179 100644 (file)
@@ -136,6 +136,7 @@ errout:
 
 }
 
+#ifdef disabled
 char *genl_op2name(int family, int op, char *buf, size_t len)
 {
        struct genl_ops *ops;
@@ -158,7 +159,7 @@ char *genl_op2name(int family, int op, char *buf, size_t len)
        strncpy(buf, "unknown", len - 1);
        return NULL;
 }
-
+#endif
 
 /**
  * @name Register/Unregister