Merge branch 'some-modifications-to-optimize-code-readability'
authorJakub Kicinski <kuba@kernel.org>
Mon, 26 Aug 2024 16:48:53 +0000 (09:48 -0700)
committerJakub Kicinski <kuba@kernel.org>
Mon, 26 Aug 2024 16:48:54 +0000 (09:48 -0700)
commit5efc9623cfaef22b3492147bf76c2d4d8586c77f
tree69279fc5d2c04c5a875575c3173e1725f4a28031
parent77f0caecf4e63fd7fb0533ea85d7e792f95c2251
parenta18308623ce303a0f8954294f3877b3ece8c5e7b
Merge branch 'some-modifications-to-optimize-code-readability'

Li Zetao says:

====================
Some modifications to optimize code readability

This patchset is mainly optimized for readability in contexts where size
needs to be determined. By using min() or max(), or even directly
removing redundant judgments (such as the 5th patch), the code is more
consistent with the context.
====================

Link: https://patch.msgid.link/20240822133908.1042240-1-lizetao1@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>