linux/net/mpls
Li Zetao fb8e83cf44 net: mpls: delete redundant judgment statements
The initial value of err is -ENOBUFS, and err is guaranteed to be
less than 0 before all goto errout. Therefore, on the error path
of errout, there is no need to repeatedly judge that err is less than 0,
and delete redundant judgments to make the code more concise.

Signed-off-by: Li Zetao <lizetao1@huawei.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2024-08-23 14:27:46 +01:00
..
af_mpls.c net: mpls: delete redundant judgment statements 2024-08-23 14:27:46 +01:00
internal.h
Kconfig
Makefile
mpls_gso.c
mpls_iptunnel.c mpls: Reduce skb re-allocations due to skb_cow() 2024-08-16 17:53:49 -07:00