commit | d27a3c3436a7f68f3affd7991cb4a68e91dd747e | [log] [tgz] |
---|---|---|
author | Colin Ian King <colin.king@canonical.com> | Wed Mar 21 18:01:58 2018 +0000 |
committer | Sudeep Holla <sudeep.holla@arm.com> | Mon Apr 16 10:15:58 2018 +0100 |
tree | e411103dd8f9749c9335afe9e37edd0449982542 | |
parent | 60cc43fc888428bb2f18f08997432d426a243338 [diff] |
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>