diff options
author | Christian Lamparter <chunkeey@web.de> | 2009-05-28 11:04:27 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-06-03 14:05:15 -0400 |
commit | 66d008139c61d610f3ade9b46ad610e2cd277fb9 (patch) | |
tree | 1822fc3179e3f0478c544621ca4bf53207e2e8b6 /drivers/net/wireless/ath/ar9170/main.c | |
parent | b55d6bcf9b7082ae613e5d532608abcd409164ca (diff) |
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>
Diffstat (limited to 'drivers/net/wireless/ath/ar9170/main.c')
-rw-r--r-- | drivers/net/wireless/ath/ar9170/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ar9170/main.c b/drivers/net/wireless/ath/ar9170/main.c index 63528f1b8d0e..b889fda10b9a 100644 --- a/drivers/net/wireless/ath/ar9170/main.c +++ b/drivers/net/wireless/ath/ar9170/main.c | |||
@@ -370,8 +370,7 @@ static void ar9170_tx_status_janitor(struct work_struct *work) | |||
370 | msecs_to_jiffies(100)); | 370 | msecs_to_jiffies(100)); |
371 | } | 371 | } |
372 | 372 | ||
373 | static void ar9170_handle_command_response(struct ar9170 *ar, | 373 | void ar9170_handle_command_response(struct ar9170 *ar, void *buf, u32 len) |
374 | void *buf, u32 len) | ||
375 | { | 374 | { |
376 | struct ar9170_cmd_response *cmd = (void *) buf; | 375 | struct ar9170_cmd_response *cmd = (void *) buf; |
377 | 376 | ||