]> Pileus Git - ~andy/linux/commitdiff
[PKTGEN]: make get_ipsec_sa() static and non-inline
authorAdrian Bunk <bunk@stusta.de>
Tue, 31 Jul 2007 01:04:09 +0000 (18:04 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Tue, 31 Jul 2007 09:28:25 +0000 (02:28 -0700)
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>
net/core/pktgen.c

index be985f068e79c05d8fa2cc7feafba36a7af2744c..7bae576ac115bf19732d878ac7022d5baeb1f0ab 100644 (file)
@@ -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) {