ar9170usb: more minor fixes
This patch contains a few more mostly random fixes for the USB front-end. 1. handle irq command response, instead of printing it to the console. 2. remove fixed FIXME. (real fix: "ar9170usb: reset device on resume". ) 3. some more one-liner. - get rid of a useless "return;" - add a few branch prediction hints in hot-paths etc. Signed-off-by: Christian Lamparter <chunkeey@web.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
b55d6bcf9b
commit
66d008139c
@@ -370,8 +370,7 @@ static void ar9170_tx_status_janitor(struct work_struct *work)
|
||||
msecs_to_jiffies(100));
|
||||
}
|
||||
|
||||
static void ar9170_handle_command_response(struct ar9170 *ar,
|
||||
void *buf, u32 len)
|
||||
void ar9170_handle_command_response(struct ar9170 *ar, void *buf, u32 len)
|
||||
{
|
||||
struct ar9170_cmd_response *cmd = (void *) buf;
|
||||
|
||||
|
Reference in New Issue
Block a user