Re: [PATCH] hwmon: (pmbus/mp2975) Eliminate dead code

[email protected]
Newsgroups org.kernel.vger.linux-hwmon
Message-ID <[email protected]>
> Coverity reports dead code in mp2975_data2reg_linear11(). Code analysis
> shows that the parameter passed to the function is always non-negative.
> This means that negative values do not need to be handled, and the
> associated variable and conditional code can be removed.
> 
> No functional impact or change.
> 
> Signed-off-by: Guenter Roeck <[email protected]>

Sashiko has reviewed this patch and found no issues. It looks great!

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
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.