commit | a8f40f463fda58b90206173be73dc199beb7395f | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Thu Jan 10 10:37:27 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Jan 17 16:56:00 2013 -0800 |
tree | f4b974f5f1b70192b34da691515572e1043c29b0 | |
parent | 305a6f3896350bbfa59c0021f59600bbbb2e9590 [diff] |
staging: comedi: comedi_buf: remove unreachable dev_warn in comedi_buf_munge() 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>