From: H Hartley Sweeten Date: Tue, 23 Oct 2012 23:28:14 +0000 (-0700) Subject: staging: comedi: ni_660x: remove BUG_ON(chan >= NUM_PFI_CHANNELS) X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~84^2~1049 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0f6959fbb318c1fb08c79503815b2cdd79d7554;p=pandora-kernel.git staging: comedi: ni_660x: remove BUG_ON(chan >= NUM_PFI_CHANNELS) This BUG_ON can never happen. The 'chan' value comes from the comedi core in the insn->chanspec and will always be in range for the subdevice number of channels (s->n_chan = NUM_PFI_CHANNELS). Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed