From: H Hartley Sweeten Date: Thu, 19 Jun 2014 17:20:33 +0000 (-0700) Subject: staging: comedi: ni_stc.h: cleanup ni_e_series_enable_second_irq() X-Git-Tag: omap-for-v3.17/fixes-against-rc2~166^2~1920 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f315520315b8db6c5a784b6d8a71756301af0ce;p=pandora-kernel.git staging: comedi: ni_stc.h: cleanup ni_e_series_enable_second_irq() This function is used to enable/disable the second irq on NI e-series boards. This irq used used to generate dma requests for the counters. There are only 2 counters (NUM_GPCT) so the default case of the switch can never occur. Tidy up this function and remove the unreachable BUG(). Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed