OpenCloudOS-Kernel/drivers/firmware/arm_scmi
Colin Ian King d27a3c3436 firmware: arm_scmi: remove redundant null check on array
The null check on clk->name is redundant since name is a char array
and can never be null, so the check is always true.  Remove it.

Detected by CoverityScan, CID#1466117 ("Array compared against 0")

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
2018-04-16 10:15:58 +01:00
..
Makefile firmware: arm_scmi: add device power domain support using genpd 2018-02-28 16:37:57 +00:00
base.c firmware: arm_scmi: add common infrastructure and support for base protocol 2018-02-28 16:37:57 +00:00
bus.c firmware: arm_scmi: add scmi protocol bus to enumerate protocol devices 2018-02-28 16:37:57 +00:00
clock.c firmware: arm_scmi: remove redundant null check on array 2018-04-16 10:15:58 +01:00
common.h firmware: arm_scmi: add initial support for performance protocol 2018-02-28 16:37:57 +00:00
driver.c firmware: arm_scmi: add per-protocol channels support using idr objects 2018-02-28 16:37:57 +00:00
perf.c firmware: arm_scmi: add option for polling based performance domain operations 2018-02-28 16:37:57 +00:00
power.c firmware: arm_scmi: add initial support for power protocol 2018-02-28 16:37:57 +00:00
scmi_pm_domain.c firmware: arm_scmi: add device power domain support using genpd 2018-02-28 16:37:57 +00:00
sensors.c firmware: arm_scmi: add initial support for sensor protocol 2018-02-28 16:37:57 +00:00