OSDN Git Service

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)
commit6c0ec37b82834630cfe99ef42690beef18d2b400
tree5a02f9fea00ec1db370d6226e137ce3427a6e029
parent0febc7b3cd17bd2323a036356c2ae6514acf9010
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