staging: dgap: remove redundant error value check
authorDaeseok Youn <daeseok.youn@gmail.com>
Tue, 15 Jul 2014 09:47:11 +0000 (18:47 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Jul 2014 15:26:29 +0000 (08:26 -0700)
commitdfa30ac13952ee0c2918090815688a909ad074f0
tree1aa76f703b3858ae26526071c1a89c7def39a748
parente86bd61ee6cae2ec09c7f9782d573f9ce3081e44
staging: dgap: remove redundant error value check

The retval in dgap_block_til_ready() is initialized to zero,
and if no error has occurred in this function, the retval has a zero.
So it doesn't need to check "retval" itself.

Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgap/dgap.c
This page took 0.024994 seconds and 5 git commands to generate.