From a5e99e126bf61772ccb0ebcc235f5599265cb5b9 Mon Sep 17 00:00:00 2001 From: H Hartley Sweeten Date: Mon, 10 Feb 2014 15:20:29 -0700 Subject: [PATCH] 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-format-patch failed