From: H Hartley Sweeten Date: Thu, 10 Jan 2013 17:37:27 +0000 (-0700) Subject: staging: comedi: comedi_buf: remove unreachable dev_warn in comedi_buf_munge() X-Git-Tag: v3.9-rc1~127^2~427 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8f40f463fda58b90206173be73dc199beb7395f;p=pandora-kernel.git 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 Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed