From: H Hartley Sweeten Date: Thu, 23 May 2013 19:53:46 +0000 (-0700) Subject: staging: comedi: usbduxsigma: remove unnecessary check in usbdux_ai_cmd() X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~76^2~452 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01a4303d392841cca293fc3895e3f4985c5365d6;p=pandora-kernel.git staging: comedi: usbduxsigma: remove unnecessary check in usbdux_ai_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