diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-05-07 19:05:16 +0100 |
---|---|---|
committer | Corey Minyard <cminyard@mvista.com> | 2017-05-17 18:30:35 -0500 |
commit | bf10ff69dd6e27710b21863ebd8e6504d9516222 (patch) | |
tree | bf9dd29df979103926dfb93dcfae251fe491e0da /drivers/media/platform/vimc/vimc-sensor.c | |
parent | 860f01e96981a68553f3ca49f574ff14fe955e72 (diff) |
ipmi_ssif: remove redundant null check on array client->adapter->name
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 <colin.king@canonical.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'drivers/media/platform/vimc/vimc-sensor.c')
0 files changed, 0 insertions, 0 deletions