From: H Hartley Sweeten Date: Mon, 10 Aug 2015 20:14:00 +0000 (-0700) Subject: staging: comedi: comedi_fops: remove BUG_ON() in comedi_dev_get_from_board_minor() X-Git-Tag: omap-for-v4.3/fixes-merge-window~44^2~103 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4237a2b59432a6ebf73f813ad9e94ab408bb8f1;p=pandora-kernel.git staging: comedi: comedi_fops: remove BUG_ON() in comedi_dev_get_from_board_minor() This function is only called by comedi_dev_get_from_minor() and the 'minor' value will always be < COMEDI_NUM_BOARD_MINORS. Remove the unnecessary BUG_ON(). Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed