From 01a4303d392841cca293fc3895e3f4985c5365d6 Mon Sep 17 00:00:00 2001 From: H Hartley Sweeten Date: Thu, 23 May 2013 12:53:46 -0700 Subject: [PATCH] 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-format-patch failed