From: Nicholas Nethercote Date: Sat, 14 May 2005 23:10:37 +0000 (+0000) Subject: Remove dead function. X-Git-Tag: svn/VALGRIND_3_0_0~605 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=48d4c8b590d95185987ff272bf4189f1d0cb9e2d;p=thirdparty%2Fvalgrind.git Remove dead function. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3713 --- diff --git a/coregrind/vg_scheduler.c b/coregrind/vg_scheduler.c index c610869a8b..1d5de1393e 100644 --- a/coregrind/vg_scheduler.c +++ b/coregrind/vg_scheduler.c @@ -130,16 +130,6 @@ Bool VG_(is_valid_tid) ( ThreadId tid ) } -__inline__ -static Bool is_valid_or_empty_tid ( ThreadId tid ) -{ - /* tid is unsigned, hence no < 0 test. */ - if (tid == 0) return False; - if (tid >= VG_N_THREADS) return False; - return True; -} - - /* For constructing error messages only: try and identify a thread whose stack satisfies the predicate p, or return VG_INVALID_THREADID if none do.