ring-buffer: Merge separate resize loops
authorVaibhav Nagarnaik <vnagarnaik@google.com>
Fri, 18 May 2012 20:29:51 +0000 (13:29 -0700)
committerSteven Rostedt <rostedt@goodmis.org>
Sat, 19 May 2012 12:28:50 +0000 (08:28 -0400)
There are 2 separate loops to resize cpu buffers that are online and
offline. Merge them to make the code look better.

Also change the name from update_completion to update_done to allow
shorter lines.

Link: http://lkml.kernel.org/r/1337372991-14783-1-git-send-email-vnagarnaik@google.com
Cc: Laurent Chavey <chavey@google.com>
Cc: Justin Teravest <teravest@google.com>
Cc: David Sharp <dhsharp@google.com>
Signed-off-by: Vaibhav Nagarnaik <vnagarnaik@google.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>

No differences found