From: H Hartley Sweeten Date: Mon, 21 Jan 2013 21:37:46 +0000 (-0700) Subject: staging: comedi: drivers (core): remove BUG_ON in comedi_auto_unconfig() X-Git-Tag: v3.9-rc1~127^2~344 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de59c285a4787dfc2ac4f2546ef0082ae08754e2;p=pandora-kernel.git staging: comedi: drivers (core): remove BUG_ON in comedi_auto_unconfig() comedi_find_board_minor() will always return a ninor number between 0 and < COMEDI_NUM_BOARD_MINORS, or -ENODEV if a minor is not found. Remove the unnecessary BUG_ON(). Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed