Re: [PATCH] ipmi_ssif: remove redundant null check on array client->adapter->name

2017-05-08 Thread Corey Minyard
On 05/07/2017 01:05 PM, Colin King wrote: From: Colin Ian King The null check on client->adapter->name is redundant as name is an array of I2C_NAME_SIZE chars and hence can never be null. We may as well remove this redundant check. Thanks Colin, Queued for next merge window. -corey Detected

[PATCH] ipmi_ssif: remove redundant null check on array client->adapter->name

2017-05-07 Thread Colin King
From: Colin Ian King The null check on client->adapter->name is redundant as name is an array of I2C_NAME_SIZE chars and hence can never be null. We may as well remove this redundant check. Detected by CoverityScan, CID#1375918 ("Array compared against 0") Signed-off-by: Colin Ian King --- dr