aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2017-03-11 19:32:05 +0000
committerGreg Kroah-Hartman <[email protected]>2017-03-12 14:57:00 +0100
commitb612a9762b20be3c30a16625adb292e9f1ff25a6 (patch)
tree58d7bbdc150b0727e50a67b0dbe1ca88dcf80a64 /lib/netdev-notifier-error-inject.c
parentb8ff636cd7d72334951a7fa1dfe9f21ba4d2107b (diff)
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 <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions