diff options
author | Helmut Schaa <helmut.schaa@googlemail.com> | 2011-03-03 19:38:55 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-03-04 14:06:46 -0500 |
commit | 11f818e0eb50864c7e6f8af38d8f8822f992906a (patch) | |
tree | 25e5da8f41a1304240c164d26128805e42cf7832 /drivers/net/bnx2.h | |
parent | adde5882bc6c21de7ee80ee15dfd58c7e9a472ac (diff) |
rt2x00: Optimize calls to rt2x00queue_get_queue
In some cases (tx path for example) we don't need to check for non-tx
queues in rt2x00queue_get_queue. Hence, introduce a new method
rt2x00queue_get_tx_queue that is only valid for tx queues and use it in
places where only tx queues are valid.
Furthermore, this new method is quite short and as such can be inlined
to avoid the function call overhead.
This only converts the txdone functions of drivers that don't use an ATIM
queue and the generic tx path.
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/bnx2.h')
0 files changed, 0 insertions, 0 deletions