aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2007-07-30 21:04:09 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-07-31 05:28:25 -0400
commitfea1ab0fcf117bc1e9c9285af6463d31d9cc0ac6 (patch)
tree770c757c612b46baad7630156cdf1aa192b23b8b /net
parent8aeca8fea5f2de2563e097829d62af30ca2de650 (diff)
[PKTGEN]: make get_ipsec_sa() static and non-inline
Non-static inline code usually doesn't makes sense. In this case making is static and non-inline is the correct solution. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/core/pktgen.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/core/pktgen.c b/net/core/pktgen.c
index be985f068e79..7bae576ac115 100644
--- a/net/core/pktgen.c
+++ b/net/core/pktgen.c
@@ -2159,8 +2159,7 @@ static inline int f_pick(struct pktgen_dev *pkt_dev)
2159/* If there was already an IPSEC SA, we keep it as is, else 2159/* If there was already an IPSEC SA, we keep it as is, else
2160 * we go look for it ... 2160 * we go look for it ...
2161*/ 2161*/
2162inline 2162static void get_ipsec_sa(struct pktgen_dev *pkt_dev, int flow)
2163void get_ipsec_sa(struct pktgen_dev *pkt_dev, int flow)
2164{ 2163{
2165 struct xfrm_state *x = pkt_dev->flows[flow].x; 2164 struct xfrm_state *x = pkt_dev->flows[flow].x;
2166 if (!x) { 2165 if (!x) {