Thread (7 messages) 7 messages, 3 authors, 2022-07-29

Re: [PATCH] sched/net/act: Remove temporary state variables

flat view

From: Jiri Pirko <jiri@resnulli.us>
Date: 2022-07-29 06:30:46
Also in: lkml

Fri, Jul 29, 2022 at 05:15:56AM CEST, kuba@kernel.org wrote:
On Wed, 27 Jul 2022 17:41:46 +0800 Li zeming wrote:
quoted
The temporary variable ret could be removed and the corresponding state
can be directly returned.
How many case like this are there in the kernel?
What tool are you using to find this?
We should focus on creating CI tools which can help catch instances of
this pattern in new code before it gets added, rather than cleaning up
old code. It just makes backports harder for hardly any gain.
What backports do you have in mind exactly?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help