diff options
| author | Dan Carpenter <[email protected]> | 2018-05-19 09:37:15 +0300 |
|---|---|---|
| committer | Sudeep Holla <[email protected]> | 2018-07-09 10:50:20 +0100 |
| commit | 23cae492b4ed8cb2eb741f21a48bfd712960e87f (patch) | |
| tree | 950fd98ba32ae373e4ccd9f554a5ecd57ea82999 /drivers/usb/cdns3/cdns3-trace.h | |
| 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 <[email protected]>
Signed-off-by: Sudeep Holla <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.h')
0 files changed, 0 insertions, 0 deletions