]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
Merge branch 'net-redundant-judgments'
authorDavid S. Miller <davem@davemloft.net>
Fri, 23 Aug 2024 13:27:46 +0000 (14:27 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Aug 2024 13:27:46 +0000 (14:27 +0100)
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>

Trivial merge