l2tp: remove header length param from l2tp_xmit_skb
authorTom Parkin <tparkin@katalix.com>
Thu, 3 Sep 2020 08:54:47 +0000 (09:54 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Sep 2020 19:19:03 +0000 (12:19 -0700)
commitefe0527882a348b55415720c6e46448d3ca87dd9
tree01d87307d6956675a36b3e1c1c4581c02e6954e5
parentffd923f5f8d5501f7f123f5c4241eaee3e870a30
l2tp: remove header length param from l2tp_xmit_skb

All callers pass the session structure's hdr_len field as the header
length parameter to l2tp_xmit_skb.

Since we're passing a pointer to the session structure to l2tp_xmit_skb
anyway, there's not much point breaking the header length out as a
separate argument.

Signed-off-by: Tom Parkin <tparkin@katalix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/l2tp/l2tp_core.c
net/l2tp/l2tp_core.h
net/l2tp/l2tp_eth.c
net/l2tp/l2tp_ppp.c