Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fea1ab0f authored by Adrian Bunk's avatar Adrian Bunk Committed by David S. Miller
Browse files

[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: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8aeca8fe
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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) {