]> git.baikalelectronics.ru Git - kernel.git/commit
l2tp: cleanup unnecessary braces in if statements
authorTom Parkin <tparkin@katalix.com>
Thu, 23 Jul 2020 11:29:51 +0000 (12:29 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Jul 2020 18:54:40 +0000 (11:54 -0700)
commit40b9f903d4d70aac2776e4e57c3d115e3b799cfc
tree5a02f9fea00ec1db370d6226e137ce3427a6e029
parent2e9d478f6b1830d9d03a42c96ac5be4c7fa648c7
l2tp: cleanup unnecessary braces in if statements

These checks are all simple and don't benefit from extra braces to
clarify intent.  Remove them for easier-reading code.

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_ppp.c