diff --git a/net/core/pktgen.c b/net/core/pktgen.c index be985f068e79c05d8fa2cc7feafba36a7af2744c..7bae576ac115bf19732d878ac7022d5baeb1f0ab 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) {