From: Jussi Kivilinna Date: Mon, 31 Jan 2011 18:49:14 +0000 (+0200) Subject: zd1211rw: use stack and preallocated memory for small cmd-buffers X-Git-Tag: v2.6.39-rc1~468^2~403^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9bca0c3b540188e2beea9c2583fa16c46d209888;p=pandora-kernel.git zd1211rw: use stack and preallocated memory for small cmd-buffers Use stack for allocing small < 64 byte arrays in zd_chip.c and preallocated buffer in zd_usb.c. This might lower CPU usage for beacon setup. v2: - Do not use stack buffers in zd_usb.c as they would be used for urb transfer_buffer. Signed-off-by: Jussi Kivilinna Signed-off-by: John W. Linville --- Reading git-diff-tree failed