rt2x00: Use unlikely for error case in rt2x00queue_write_tx_frame
authorHelmut Schaa <helmut.schaa@googlemail.com>
Sat, 9 Oct 2010 11:34:43 +0000 (13:34 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 11 Oct 2010 19:04:22 +0000 (15:04 -0400)
commitc6084d5fa2e70a436ab944066146de01819f5493
tree3c0d854e6f9795680c95c6faee1e4a54e5de404d
parentff6133becae9ae1657fcff339a160a21448fa11c
rt2x00: Use unlikely for error case in rt2x00queue_write_tx_frame

This is an error condition that is not supposed to happen. Hence, it is
safe to add unlikely to this check.

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/rt2x00queue.c