Re: [PATCH] ath9k_htc: avoid memcpy when downloading firmware

2015-03-03 Thread Fred Chou
On 3/3/2015 2:00 PM, Eric Dumazet wrote: On Tue, 2015-03-03 at 12:24 +0800, Fred Chou wrote: From: Fred Chou fred.chou...@gmail.com The temporary buffer to hold firmware data is not really needed, and memcpy can be avoided by using data pointer instead. Signed-off-by: Fred Chou

[PATCH] ath9k_htc: avoid memcpy when downloading firmware

2015-03-02 Thread Fred Chou
From: Fred Chou fred.chou...@gmail.com The temporary buffer to hold firmware data is not really needed, and memcpy can be avoided by using data pointer instead. Signed-off-by: Fred Chou fred.chou...@gmail.com --- drivers/net/wireless/ath/ath9k/hif_usb.c | 12 ++-- 1 file changed, 2

Re: [PATCH] ath9k_htc: avoid memcpy when downloading firmware

2015-03-02 Thread Eric Dumazet
On Tue, 2015-03-03 at 12:24 +0800, Fred Chou wrote: From: Fred Chou fred.chou...@gmail.com The temporary buffer to hold firmware data is not really needed, and memcpy can be avoided by using data pointer instead. Signed-off-by: Fred Chou fred.chou...@gmail.com ---