From: H Hartley Sweeten Date: Tue, 27 May 2014 17:30:43 +0000 (-0700) Subject: staging: comedi: usbdux: use 'cmd' pointer in usbduxsub_ai_isoc_irq() X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~36^2~59 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a49b45fb498be9c7fd42cccdb1d71fe424c962ca;p=pandora-kernel.git 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-diff-tree failed