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:
65dbae5
)
staging: comedi: ni_tiocmd: tidy up ni_tio_input_inttrig()
author
H Hartley Sweeten
<hsweeten@visionengravers.com>
Mon, 28 Jul 2014 17:27:02 +0000
(10:27 -0700)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 30 Jul 2014 23:51:00 +0000
(16:51 -0700)
Remove the BUG_ON(counter == NULL). If this can never happen and it
if did the driver should have died long before this function is called.
For aesthetics, rename the local variable 'retval' to simply 'ret'.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
No differences found