| commit | e2f8c8752b994026fc0ddb4bb29ca229b3e0c104 | [log] [tgz] |
|---|---|---|
| author | Helmut Schaa <helmut.schaa@googlemail.com> | Thu Nov 04 20:38:56 2010 +0100 |
| committer | John W. Linville <linville@tuxdriver.com> | Mon Nov 15 13:26:00 2010 -0500 |
| tree | 4ebaf573ce33eb5002b454eb0d432ddef31d51e5 | |
| parent | 2b23cdaa3b0e9567597563e5a7a5103ecda447f0 [diff] |
rt2x00: Optimize rt2x00debug_dump_frame when frame dumping is not active When rt2x00 is compiled with debugging but frame dumping is currently not active we can avoid the call to do_gettimeofday. Furthermore, frame dumping is not the default case, mark it as unlikely. 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>