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)
commitc6a9d7b55e2df63de012a9a285bf2a0bee8e4d59
treef4f275eeba79572e9660da6c0d865d7f2d51075c
parent22f470f8daea64bc03be1fe30c8c5df382295386
ring-buffer: remove useless warn on check

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>
kernel/trace/ring_buffer.c