From: H Hartley Sweeten Date: Thu, 25 Jul 2013 23:11:10 +0000 (-0700) Subject: staging: comedi: usbdux: remove unnecessary check in usbdux_ao_cmd() X-Git-Tag: v3.12-rc1~183^2~496 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66ce147c7d40b77704b44b6b2071d91f7c510b33;p=pandora-kernel.git staging: comedi: usbdux: remove unnecessary check in usbdux_ao_cmd() This check is not necessary. The cmd->chanlist_len will always be less than or equal to the subdevice len_chanlist that was setup during the attach of the device. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed