aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_xarray.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2020-10-06 17:06:00 +0000
committerSebastian Reichel <[email protected]>2020-10-08 21:31:01 +0000
commit4b464bad37c65492f03fe6cc15bdb6a9a6a5f5e7 (patch)
tree254d05731355f3a1ccec7c180e4d0c508ccb58e0 /lib/test_xarray.c
parentpower: reset: ocelot: Add support for Sparx5 (diff)
downloadkernel-4b464bad37c65492f03fe6cc15bdb6a9a6a5f5e7.tar.gz
kernel-4b464bad37c65492f03fe6cc15bdb6a9a6a5f5e7.zip
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 <[email protected]> Acked-by: Dan Murphy <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'lib/test_xarray.c')
0 files changed, 0 insertions, 0 deletions