summaryrefslogtreecommitdiff
path: root/include/netlink-local.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/netlink-local.h')
-rw-r--r--include/netlink-local.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/netlink-local.h b/include/netlink-local.h
index 2bfae3e..b891d8c 100644
--- a/include/netlink-local.h
+++ b/include/netlink-local.h
@@ -117,14 +117,6 @@ extern int __str2flags(const char *, const struct trans_tbl *, size_t);
extern void dump_from_ops(struct nl_object *, struct nl_dump_params *);
-static inline struct nl_cache *dp_cache(struct nl_object *obj)
-{
- if (obj->ce_cache == NULL)
- return nl_cache_mngt_require(obj->ce_ops->oo_name);
-
- return obj->ce_cache;
-}
-
static inline int nl_cb_call(struct nl_cb *cb, int type, struct nl_msg *msg)
{
return cb->cb_set[type](msg, cb->cb_args[type]);