diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-03-11 22:32:05 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-12 16:57:00 +0300 |
commit | b612a9762b20be3c30a16625adb292e9f1ff25a6 (patch) | |
tree | 58d7bbdc150b0727e50a67b0dbe1ca88dcf80a64 /drivers/staging/comedi | |
parent | b8ff636cd7d72334951a7fa1dfe9f21ba4d2107b (diff) | |
download | linux-b612a9762b20be3c30a16625adb292e9f1ff25a6.tar.xz |
staging: atomisp: clean up return logic, remove redunant code
There is no need to check if ret is non-zero, remove this
redundant check and just return the error status from the call
to mt9m114_write_reg_array.
Detected by CoverityScan, CID#1416577 ("Identical code for
different branches")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/comedi')
0 files changed, 0 insertions, 0 deletions