From: H Hartley Sweeten Date: Thu, 25 Jul 2013 23:11:28 +0000 (-0700) Subject: staging: comedi: usbdux: 'dac_commands' does not need to be kzalloc()'d X-Git-Tag: v3.12-rc1~183^2~495 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5bbfe500be3c8f9f45d45b1ac644271761610a1;p=pandora-kernel.git staging: comedi: usbdux: 'dac_commands' does not need to be kzalloc()'d The 'dac_commands' buffer is used to pass the ao channel list from usbdux_ao_cmd() to the urb callback, usbduxsub_ao_isoc_irq(). This buffer does not need to be allocated. Change it into a simple array of the correct size. Rename the variable to 'ao_chanlist' to clarify what it actually is. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed