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

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
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -263,7 +263,6 @@ static void torture_onoff_cleanup(void)
	onoff_task = NULL;
#endif /* #ifdef CONFIG_HOTPLUG_CPU */
}
EXPORT_SYMBOL_GPL(torture_onoff_cleanup);

/*
 * Print online/offline testing statistics.
@@ -449,7 +448,6 @@ static void torture_shuffle_cleanup(void)
	}
	shuffler_task = NULL;
}
EXPORT_SYMBOL_GPL(torture_shuffle_cleanup);

/*
 * Variables for auto-shutdown.  This allows "lights out" torture runs