]> git.karo-electronics.de Git - linux-beck.git/commit
rt2x00: Use unlikely for unexpected error condition in rt2x00_mac_tx
authorHelmut Schaa <helmut.schaa@googlemail.com>
Thu, 3 Mar 2011 18:41:03 +0000 (19:41 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 4 Mar 2011 19:06:47 +0000 (14:06 -0500)
commit208f19dceeeebcae2f9fb8f88953e2f66949b0f0
treead3126d47f9978f42950104ce1e2dfa83b065117
parent5356d963304638735b4b53dfbded7a1c4ae0818d
rt2x00: Use unlikely for unexpected error condition in rt2x00_mac_tx

rt2x00queue_write_tx_frame is unlikely to fail. Tell the compiler.

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>
drivers/net/wireless/rt2x00/rt2x00mac.c