diff options
author | Andrew Goodbody <andrew.goodbody@linaro.org> | 2025-08-11 18:03:40 +0100 |
---|---|---|
committer | Casey Connolly <casey.connolly@linaro.org> | 2025-08-13 15:17:36 +0200 |
commit | 10e65926a37d06831fc913221f9eb930c4194060 (patch) | |
tree | ea05f57f8409b12800da66aae107fe67c38cd522 /drivers/fpga/spartan2.c | |
parent | f236451cb426fc3edaf756dac6346cd6273179b8 (diff) |
serial: msm-geni: No need to NULL check priv
The NULL check for priv in qcom_geni_serial_poll_bit serves no useful
prupose as too much other code surrounding it relies on priv being
valid. Remove the NULL check for priv and other related code.
This issue was found by Smatch.
Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org>
Link: https://lore.kernel.org/r/20250811-serial_msm_geni-v1-2-4499179491bc@linaro.org
Signed-off-by: Casey Connolly <casey.connolly@linaro.org>
Diffstat (limited to 'drivers/fpga/spartan2.c')
0 files changed, 0 insertions, 0 deletions