Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 194008
b: refs/heads/master
c: e4077e0
h: refs/heads/master
v: v3
  • Loading branch information
Timo Teräs authored and David S. Miller committed Apr 8, 2010
1 parent a3da18a commit 6839f4d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0a5bff744a6263d397f88671ed2f772da9c64989
refs/heads/master: e4077e018b5ead3de9951fc01d8bf12eeeeeefed
7 changes: 0 additions & 7 deletions trunk/include/net/xfrm.h
Original file line number Diff line number Diff line change
Expand Up @@ -735,19 +735,12 @@ static inline void xfrm_pol_put(struct xfrm_policy *policy)
xfrm_policy_destroy(policy);
}

#ifdef CONFIG_XFRM_SUB_POLICY
static inline void xfrm_pols_put(struct xfrm_policy **pols, int npols)
{
int i;
for (i = npols - 1; i >= 0; --i)
xfrm_pol_put(pols[i]);
}
#else
static inline void xfrm_pols_put(struct xfrm_policy **pols, int npols)
{
xfrm_pol_put(pols[0]);
}
#endif

extern void __xfrm_state_destroy(struct xfrm_state *);

Expand Down

0 comments on commit 6839f4d

Please sign in to comment.