From: H Hartley Sweeten Date: Thu, 23 May 2013 19:54:06 +0000 (-0700) Subject: staging: comedi: usbduxsigma: remove unnecessary check in usbdux_ao_cmd() X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~76^2~451 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=982d255b3e5d5945b91a84b019841736bcee96dc;p=pandora-kernel.git staging: comedi: usbduxsigma: remove unnecessary check in usbdux_ao_cmd() The comedi core verifies that the command chanlist_len is valid for the subdevice based on the len_chanlist that was setup during the attach. There is no need to recheck it in the (*cmd) function. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed