diff options
author | David S. Miller <davem@davemloft.net> | 2024-08-23 15:27:46 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-08-23 15:27:46 +0200 |
commit | f9db28bb09f46087580f2a8da54bb0aab59a8024 (patch) | |
tree | 26a311031f5cb61644ad12942da2455feaae9323 /net/core/dev.c | |
parent | Merge branch 'phy-listing-and-topology-tracking' (diff) | |
parent | net: mpls: delete redundant judgment statements (diff) | |
download | linux-f9db28bb09f46087580f2a8da54bb0aab59a8024.tar.xz linux-f9db28bb09f46087580f2a8da54bb0aab59a8024.zip |
Merge branch 'net-redundant-judgments'
Li Zetao says:
====================
net: Delete some redundant judgments
This patchset aims to remove some unnecessary judgments and make the
code more concise. In some network modules, rtnl_set_sk_err is used to
record error information, but the err is repeatedly judged to be less
than 0 on the error path. Deleted these redundant judgments.
No functional change intended.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions