ring-buffer: remove useless warn on check
authorSteven Rostedt <srostedt@redhat.com>
Thu, 11 Jun 2009 13:49:15 +0000 (09:49 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 17 Jun 2009 01:19:26 +0000 (21:19 -0400)
A check if "write > BUF_PAGE_SIZE" is done right after a

if (write > BUF_PAGE_SIZE)
return ...;

Thus the check is actually testing the compiler and not the
kernel. This is useless, remove it.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>

No differences found