Re: [PATCH] hwmon-ntc_thermistor: Delete an unnecessary check before the function call "iio_channel_release"

2016-07-18 Thread Guenter Roeck
On 07/18/2016 11:54 AM, SF Markus Elfring wrote: From: Markus Elfring Date: Mon, 18 Jul 2016 20:34:41 +0200 The iio_channel_release() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Cocc

[PATCH] hwmon-ntc_thermistor: Delete an unnecessary check before the function call "iio_channel_release"

2016-07-18 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 18 Jul 2016 20:34:41 +0200 The iio_channel_release() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --