Commit 21f57546 authored by Denis Efremov's avatar Denis Efremov Committed by Paul E. McKenney

torture: Remove exporting of internal functions

The functions torture_onoff_cleanup() and torture_shuffle_cleanup()
are declared static and marked EXPORT_SYMBOL_GPL(), which is at best an
odd combination.  Because these functions are not used outside of the
kernel/torture.c file they are defined in, this commit removes their
EXPORT_SYMBOL_GPL() marking.

Fixes: cc47ae08 ("rcutorture: Abstract torture-test cleanup")
Signed-off-by: default avatarDenis Efremov <efremov@linux.com>
Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.ibm.com>
parent bd1bfc51
...@@ -263,7 +263,6 @@ static void torture_onoff_cleanup(void) ...@@ -263,7 +263,6 @@ static void torture_onoff_cleanup(void)
onoff_task = NULL; onoff_task = NULL;
#endif /* #ifdef CONFIG_HOTPLUG_CPU */ #endif /* #ifdef CONFIG_HOTPLUG_CPU */
} }
EXPORT_SYMBOL_GPL(torture_onoff_cleanup);
/* /*
* Print online/offline testing statistics. * Print online/offline testing statistics.
...@@ -449,7 +448,6 @@ static void torture_shuffle_cleanup(void) ...@@ -449,7 +448,6 @@ static void torture_shuffle_cleanup(void)
} }
shuffler_task = NULL; shuffler_task = NULL;
} }
EXPORT_SYMBOL_GPL(torture_shuffle_cleanup);
/* /*
* Variables for auto-shutdown. This allows "lights out" torture runs * Variables for auto-shutdown. This allows "lights out" torture runs
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment