git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e86bd61
)
staging: dgap: remove redundant error value check
author
Daeseok Youn
<daeseok.youn@gmail.com>
Tue, 15 Jul 2014 09:47:11 +0000
(18:47 +0900)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 15 Jul 2014 15:26:29 +0000
(08:26 -0700)
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
patch
|
blob
|
history
diff --cc
drivers/staging/dgap/dgap.c
Simple merge