From da233bdb4ce5b9205c066fecff7a153ade8eb95a Mon Sep 17 00:00:00 2001 From: Martin Hunt Date: Tue, 15 Apr 2008 22:32:45 -0400 Subject: Remove _stp_pbuf_full. --- runtime/print.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'runtime/print.c') diff --git a/runtime/print.c b/runtime/print.c index 4f99be7b..14a0820b 100644 --- a/runtime/print.c +++ b/runtime/print.c @@ -243,17 +243,6 @@ void _stp_print_char (const char c) pb->len ++; } -/** Check whether the print buffer is full. - * @return non-zero if full - */ - -static int _stp_pbuf_full (void) -{ - _stp_pbuf *pb = per_cpu_ptr(Stp_pbuf, smp_processor_id()); - return (pb->len >= STP_BUFFER_SIZE); -} - - /* This function is used when printing maps or stats. */ /* Probably belongs elsewhere, but is here for now. */ /* It takes a format specification like those used for */ -- cgit