[Bf-blender-cvs] [dd61787b254] master: Cleanup: unused function warning

Campbell Barton noreply at git.blender.org
Wed Mar 6 06:21:52 CET 2019


Commit: dd61787b2545d7bd091211af6650c8a78ba8e707
Author: Campbell Barton
Date:   Wed Mar 6 16:20:36 2019 +1100
Branches: master
https://developer.blender.org/rBdd61787b2545d7bd091211af6650c8a78ba8e707

Cleanup: unused function warning

===================================================================

M	source/blender/blenlib/intern/threads.c

===================================================================

diff --git a/source/blender/blenlib/intern/threads.c b/source/blender/blenlib/intern/threads.c
index d1aa3232173..89574dd395f 100644
--- a/source/blender/blenlib/intern/threads.c
+++ b/source/blender/blenlib/intern/threads.c
@@ -841,6 +841,7 @@ void BLI_threaded_malloc_end(void)
 
 /* **** Special functions to help performance on crazy NUMA setups. **** */
 
+#if 0  /* UNUSED */
 static bool check_is_threadripper2_alike_topology(void)
 {
 	/* NOTE: We hope operating system does not support CPU hotswap to
@@ -920,6 +921,7 @@ static void threadripper_put_thread_on_fast_node(void)
 	/* See additional note about NUMA disabled in BIOS above. */
 	numaAPI_RunThreadOnNode(0);
 }
+#endif  /* UNUSED */
 
 void BLI_thread_put_process_on_fast_node(void)
 {



More information about the Bf-blender-cvs mailing list