l2tp: avoid duplicate l2tp_pernet() calls
commit363a341d190bde3f6d5f2786feefb9f1a7a45b95
authorGuillaume Nault <g.nault@alphalink.fr>
Mon, 25 Jun 2018 14:07:24 +0000 (25 16:07 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Jun 2018 13:55:51 +0000 (26 22:55 +0900)
tree9987b1d74cff194240339f136b51e9b972d599cf
parentd08532bb5080f234f1ac45f9fc909eb15f51834b
l2tp: avoid duplicate l2tp_pernet() calls

Replace 'l2tp_pernet(tunnel->l2tp_net)' with 'pn', which has been set
on the preceding line.

Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/l2tp/l2tp_core.c