summaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2007-07-30 18:04:09 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-07-31 02:28:25 -0700
commitfea1ab0fcf117bc1e9c9285af6463d31d9cc0ac6 (patch)
tree770c757c612b46baad7630156cdf1aa192b23b8b /net/core
parent8aeca8fea5f2de2563e097829d62af30ca2de650 (diff)
downloadblackbird-op-linux-fea1ab0fcf117bc1e9c9285af6463d31d9cc0ac6.tar.gz
blackbird-op-linux-fea1ab0fcf117bc1e9c9285af6463d31d9cc0ac6.zip
[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/core')
-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)
/* If there was already an IPSEC SA, we keep it as is, else
* we go look for it ...
*/
-inline
-void get_ipsec_sa(struct pktgen_dev *pkt_dev, int flow)
+static void get_ipsec_sa(struct pktgen_dev *pkt_dev, int flow)
{
struct xfrm_state *x = pkt_dev->flows[flow].x;
if (!x) {
OpenPOWER on IntegriCloud