Re: [cocci] [PATCH 2/3] PM: runtime: Make pm_runtime_barrier() return void

Guenter Roeck <[email protected]>
Newsgroups fr.inria.cocci,org.kernel.vger.linux-kernel,org.kernel.vger.linux-pm
Message-ID <[email protected]>
On Tue, Dec 02, 2025 at 11:30:25AM -0800, Brian Norris wrote:
> No callers check the return code, and that's a good thing. Doing so
> would be racy and unhelpful.
> 
> Drop the return code entirely, so we don't make anyone think about its
> complexities.
> 
> Signed-off-by: Brian Norris <[email protected]>

Tested-by: Guenter Roeck <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.