From: H Hartley Sweeten Date: Fri, 1 May 2015 21:58:49 +0000 (-0700) Subject: staging: comedi: ni_mio_common: remove BUG() check in ni_cdio_cmd() X-Git-Tag: omap-for-v4.2/fixes-rc1^2~92^2~737 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9abc4aa75197f48d54092f36576249312dff55a;p=pandora-kernel.git staging: comedi: ni_mio_common: remove BUG() check in ni_cdio_cmd() The cmd->scan_begin_src was validated in ni_cdio_cmdtest() and can only be TRIG_EXT. Remove the switch statement and unnecessary BUG() check. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed