From: H Hartley Sweeten Date: Tue, 29 Apr 2014 19:59:48 +0000 (-0700) Subject: staging: comedi: hwdrv_apci3120: cmd->convert_src is always TRIG_TIMER X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~36^2~1055 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a19f71615875b207813fee32db983903a0ec5729;p=pandora-kernel.git staging: comedi: hwdrv_apci3120: cmd->convert_src is always TRIG_TIMER The (*do_cmdtest) validates that the cmd->convert_src can only be TRIG_TIMER. Remove the unnecessay checks. THis also simplifies the (*do_cmd) a bit since "mode 3" (whatever that is) is never a valid mode. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed