mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 13:29:17 -04:00
l2tp: cleanup suspect code indent
l2tp_core has conditionally compiled code in l2tp_xmit_skb for IPv6 support. The structure of this code triggered a checkpatch warning due to incorrect indentation. Fix up the indentation to address the checkpatch warning. Signed-off-by: Tom Parkin <tparkin@katalix.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
8ce9825a59
commit
0864e331fd
@@ -1122,8 +1122,8 @@ int l2tp_xmit_skb(struct l2tp_session *session, struct sk_buff *skb, int hdr_len
|
||||
&sk->sk_v6_daddr, udp_len);
|
||||
else
|
||||
#endif
|
||||
udp_set_csum(sk->sk_no_check_tx, skb, inet->inet_saddr,
|
||||
inet->inet_daddr, udp_len);
|
||||
udp_set_csum(sk->sk_no_check_tx, skb, inet->inet_saddr,
|
||||
inet->inet_daddr, udp_len);
|
||||
break;
|
||||
|
||||
case L2TP_ENCAPTYPE_IP:
|
||||
|
||||
Reference in New Issue
Block a user