diff options
author | Colin Ian King <colin.king@canonical.com> | 2020-10-06 20:06:00 +0300 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2020-10-09 00:31:01 +0300 |
commit | 4b464bad37c65492f03fe6cc15bdb6a9a6a5f5e7 (patch) | |
tree | 254d05731355f3a1ccec7c180e4d0c508ccb58e0 /drivers/net/fjes/fjes_trace.h | |
parent | ec871696b77767672cae1fe3158dbe1a86abcfdd (diff) | |
download | linux-4b464bad37c65492f03fe6cc15bdb6a9a6a5f5e7.tar.xz |
power: supply: bq25980: remove redundant zero check on ret
Currently ret is assigned to zero and the following statement checks
if it is non-zero. This check is redundant and can be removed
Addresses-Coverity: ("Logically dead code")
Fixes: 5069185fc18e ("power: supply: bq25980: Add support for the BQ259xx family")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/net/fjes/fjes_trace.h')
0 files changed, 0 insertions, 0 deletions