From: H Hartley Sweeten Date: Mon, 10 Feb 2014 22:20:29 +0000 (-0700) Subject: staging: comedi: usbduxfast: 'cmd->chanlist_len' was already validataed X-Git-Tag: v3.15-rc1~139^2~1060 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5e99e126bf61772ccb0ebcc235f5599265cb5b9;p=pandora-kernel.git staging: comedi: usbduxfast: 'cmd->chanlist_len' was already validataed Remove the unnecessary check of 'cmd->chanlist_len > 0'. The (*do_cmdtest) already validated this before the (*do_cmd) was called. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed