From a49b45fb498be9c7fd42cccdb1d71fe424c962ca Mon Sep 17 00:00:00 2001 From: H Hartley Sweeten Date: Tue, 27 May 2014 10:30:43 -0700 Subject: [PATCH] staging: comedi: usbdux: use 'cmd' pointer in usbduxsub_ai_isoc_irq() Use the 'cmd' pointer to access the chanlist instead of getting to it using the comedi_subdevice pointer. Remove the unneeded 'n' local variable, this is just the cmd->chanlist_len. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed