summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-01-11 17:49:33 +0000
committerJonathan Cameron <jic23@kernel.org>2017-01-14 13:10:04 +0000
commite2eb179c0031b8cd172d8a7869451ff57184388b (patch)
tree0fbbc6ac24d0f8d424b125fd60b5bbaa4a303e33 /Documentation
parenta9c99c76f5b96d68f1d5a293d984c74896d3c024 (diff)
downloadop-kernel-dev-e2eb179c0031b8cd172d8a7869451ff57184388b.zip
op-kernel-dev-e2eb179c0031b8cd172d8a7869451ff57184388b.tar.gz
iio: magnetometer: ak8974: remove redundant zero timeout check
At the end of the delay loop timeout will always be zero and hence the check for !timeout will always be true. Remove the redundant check and the redundant return 0 at the end of the function. Fixes CoverityScan CID#1357168 ("Logically dead code") Signed-off-by: Colin Ian King <colin.king@canonical.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud