mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: linux-4.14-rc2/drivers/hwmon/pmbus/pmbus_core.c:1086]: (style) Redundant condition
       [not found] <VI1PR0802MB23367050B5690DAC7D654F0B9C7A0@VI1PR0802MB2336.eurprd08.prod.outlook.com>
@ 2017-09-25 14:58 ` Guenter Roeck
  0 siblings, 0 replies; only message in thread
From: Guenter Roeck @ 2017-09-25 14:58 UTC (permalink / raw)
  To: David Binderman; +Cc: jdelvare, linux-hwmon, linux-kernel

On Mon, Sep 25, 2017 at 01:54:02PM +0000, David Binderman wrote:
> 
> Hello there,
> 
> linux-4.14-rc2/drivers/hwmon/pmbus/pmbus_core.c:1086]: (style) Redundant condition: upper. '!upper || (upper && data->has_status_word)' is equivalent to '!upper || data->has_status_word'
> 
> Source code is
> 
>            (!upper || (upper && data->has_status_word)) &&
> 
Please feel free to submit a patch.

Thanks,
Guenter

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-09-25 14:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <VI1PR0802MB23367050B5690DAC7D654F0B9C7A0@VI1PR0802MB2336.eurprd08.prod.outlook.com>
2017-09-25 14:58 ` linux-4.14-rc2/drivers/hwmon/pmbus/pmbus_core.c:1086]: (style) Redundant condition Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®