Remove a function and global variable no longer needed.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2435 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/vg_main.c b/coregrind/vg_main.c
index 929220e..53b6c31 100644
--- a/coregrind/vg_main.c
+++ b/coregrind/vg_main.c
@@ -179,10 +179,6 @@
    descriptor or a socket descriptor. */
 Bool VG_(logging_to_filedes) = True;
 
-/* This Bool is needed by wrappers in vg_clientmalloc.c to decide how
-   to behave.  Initially we say False. */
-Bool VG_(running_on_simd_CPU) = False;
-
 /* This is the argument to __NR_exit() supplied by the first thread to
    call that syscall.  We eventually pass that to __NR_exit() for
    real. */
@@ -2975,7 +2971,6 @@
    //--------------------------------------------------------------
    // Run!
    //--------------------------------------------------------------
-   VG_(running_on_simd_CPU) = True;
    VGP_POPCC(VgpStartup);
    VGP_PUSHCC(VgpSched);
 
@@ -2986,7 +2981,6 @@
       src = VgSrc_FatalSig;
 
    VGP_POPCC(VgpSched);
-   VG_(running_on_simd_CPU) = False;
 
 
 
diff --git a/include/vg_skin.h.base b/include/vg_skin.h.base
index 2017a3b..b5d0892 100644
--- a/include/vg_skin.h.base
+++ b/include/vg_skin.h.base
@@ -1810,32 +1810,6 @@
 
 
 /*====================================================================*/
-/*=== General stuff for replacing functions                        ===*/
-/*====================================================================*/
-
-/* Some skins need to replace the standard definitions of some functions. */
-
-/* ------------------------------------------------------------------ */
-/* General stuff, for replacing any functions */
-
-/* Is the client running on the simulated CPU or the real one?
-
-   Nb: If it is, and you want to call a function to be run on the real CPU,
-   use one of the VALGRIND_NON_SIMD_CALL[123] macros in valgrind.h to call it.
-
-   Nb: don't forget the function parentheses when using this in a
-   condition... write this:
-
-     if (VG_(is_running_on_simd_CPU)()) { ... }    // calls function
-
-   not this:
-
-     if (VG_(is_running_on_simd_CPU)) { ... }      // address of var!
-*/
-extern Bool VG_(is_running_on_simd_CPU) ( void );
-
-
-/*====================================================================*/
 /*=== Specific stuff for replacing malloc() and friends            ===*/
 /*====================================================================*/