]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Remove dead function.
authorNicholas Nethercote <njn@valgrind.org>
Sat, 14 May 2005 23:10:37 +0000 (23:10 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Sat, 14 May 2005 23:10:37 +0000 (23:10 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3713

coregrind/vg_scheduler.c

index c610869a8be3f01f316e6671838c56f5dce0bc60..1d5de1393e48a87d4fbd092c068ee03aa3edc257 100644 (file)
@@ -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.