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:
305a6f3
)
staging: comedi: comedi_buf: remove unreachable dev_warn in comedi_buf_munge()
author
H Hartley Sweeten
<hsweeten@visionengravers.com>
Thu, 10 Jan 2013 17:37:27 +0000
(10:37 -0700)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 18 Jan 2013 00:56:00 +0000
(16:56 -0800)
Due to the 'while(count < num_bytes)' the computed 'block_size' will
always be a value greater than 0.
Remove the unreachable dev_warn and the (block_size < 0) test.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbobbi@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
No differences found