From: Steven Rostedt Date: Thu, 7 May 2009 15:13:42 +0000 (-0400) Subject: ring-buffer: remove complex calculations in ring-buffer-test X-Git-Tag: v2.6.31-rc1~401^2~61 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29c8000ee7da3a6756d26143991e573eaaf2a9f6;p=pandora-kernel.git ring-buffer: remove complex calculations in ring-buffer-test Ingo Molnar thought that the code to calculate the time in cond_resched is a bit too ugly and is not needed. This patch removes it and replaces it with a simple call to cond_resched. I kept the comment that explains the reason for the cond_resched. [ Impact: remove ugly code ] Reported-by: Ingo Molnar Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed