netfilter: bitwise: replace gotos with returns.
authorJeremy Sowden <jeremy@azazel.net>
Wed, 15 Jan 2020 20:05:50 +0000 (20:05 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 16 Jan 2020 14:51:57 +0000 (15:51 +0100)
commit577c734a81e2f59aa4490071ebe074fc05d5540b
tree4a74f30e081031185ca765a0fa74a0542c0be1be
parent265ec7b0e8c35ea70e694da43aa8896e2614def9
netfilter: bitwise: replace gotos with returns.

When dumping a bitwise expression, if any of the puts fails, we use goto
to jump to a label.  However, no clean-up is required and the only
statement at the label is a return.  Drop the goto's and return
immediately instead.

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nft_bitwise.c