Re: [PATCH] hwmon: (pmbus/mp2975) Eliminate dead code
| 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