From: H Hartley Sweeten Date: Fri, 1 May 2015 21:59:13 +0000 (-0700) Subject: staging: comedi: ni_stc.h: remove unreachable code in RTSI_Output_Bit() X-Git-Tag: omap-for-v4.2/fixes-rc1^2~92^2~713 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2bdb0d833655b09d7ae75b7ca4eafde22fda9a4;p=pandora-kernel.git staging: comedi: ni_stc.h: remove unreachable code in RTSI_Output_Bit() All the callers of this function check the 'channel' number with num_configurable_rtsi_channels(). This check can never occure. Remove it. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed