From: Helmut Schaa Date: Thu, 4 Nov 2010 19:38:56 +0000 (+0100) Subject: rt2x00: Optimize rt2x00debug_dump_frame when frame dumping is not active X-Git-Tag: v2.6.38-rc1~476^2~558^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2f8c8752b994026fc0ddb4bb29ca229b3e0c104;p=pandora-kernel.git 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 Signed-off-by: Ivo van Doorn Signed-off-by: John W. Linville --- Reading git-diff-tree failed