diff options
author | Thomas Graf <tgraf@suug.ch> | 2014-08-26 01:09:09 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2014-08-26 13:09:20 +0200 |
commit | a45fca9a586d6b4452725b1c405c1ee93dfe68ad (patch) | |
tree | 137b1257de286a3f93ca40385a295269d1688fab /lib/xfrm | |
parent | da80033c2f0c6037794721bd9ad36237e6d2ccca (diff) | |
download | libnl-a45fca9a586d6b4452725b1c405c1ee93dfe68ad.tar.gz |
xfrm: Remove unused function __assign_addr()
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'lib/xfrm')
-rw-r--r-- | lib/xfrm/sp.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/xfrm/sp.c b/lib/xfrm/sp.c index cf162975..e6ab1956 100644 --- a/lib/xfrm/sp.c +++ b/lib/xfrm/sp.c @@ -1296,21 +1296,6 @@ int xfrmnl_sp_set_mark (struct xfrmnl_sp* sp, unsigned int value, unsigned int m return 0; } -static inline int __assign_addr(struct xfrmnl_sp* sp, struct nl_addr **pos, - struct nl_addr *new, int flag) -{ - if (*pos) - nl_addr_put(*pos); - - nl_addr_get(new); - *pos = new; - - sp->ce_mask |= flag; - - return 0; -} - - /** @} */ static struct nl_object_ops xfrm_sp_obj_ops = { |