diff options
author | Tom Parkin <tparkin@katalix.com> | 2020-07-23 12:29:52 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-23 11:54:40 -0700 |
commit | 26d9a2710616c4499b661cada35ac5e4b125ebe8 (patch) | |
tree | 92b1ca2ed56bdc0bb9daf166512d0a69f59dc5ad /net/l2tp/l2tp_netlink.c | |
parent | l2tp: cleanup unnecessary braces in if statements (diff) | |
download | linux-dev-26d9a2710616c4499b661cada35ac5e4b125ebe8.tar.xz linux-dev-26d9a2710616c4499b661cada35ac5e4b125ebe8.zip |
l2tp: check socket address type in l2tp_dfs_seq_tunnel_show
checkpatch warns about indentation and brace balancing around the
conditionally compiled code for AF_INET6 support in
l2tp_dfs_seq_tunnel_show.
By adding another check on the socket address type we can make the code
more readable while removing the checkpatch warning.
Signed-off-by: Tom Parkin <tparkin@katalix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/l2tp/l2tp_netlink.c')
0 files changed, 0 insertions, 0 deletions