commit | 23cae492b4ed8cb2eb741f21a48bfd712960e87f | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Sat May 19 09:37:15 2018 +0300 |
committer | Sudeep Holla <sudeep.holla@arm.com> | Mon Jul 09 10:50:20 2018 +0100 |
tree | 950fd98ba32ae373e4ccd9f554a5ecd57ea82999 | |
parent | ce397d215ccd07b8ae3f71db689aedb85d56ab40 [diff] |
firmware: arm_scmi: remove some unnecessary checks The "pi->dom_info" buffer is allocated in init() and it can't be NULL here. These tests are sort of weird as well because if "pi->dom_info" was NULL but "domain" was non-zero then it would lead to an Oops. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>