aboutsummaryrefslogtreecommitdiffstats
path: root/samples/kmemleak/kmemleak-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'samples/kmemleak/kmemleak-test.c')
-rw-r--r--samples/kmemleak/kmemleak-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/kmemleak/kmemleak-test.c b/samples/kmemleak/kmemleak-test.c
index 7b476eb8285f3..6ced5ddd99d43 100644
--- a/samples/kmemleak/kmemleak-test.c
+++ b/samples/kmemleak/kmemleak-test.c
@@ -32,7 +32,7 @@ static DEFINE_PER_CPU(void *, kmemleak_test_pointer);
* Some very simple testing. This function needs to be extended for
* proper testing.
*/
-static int __init kmemleak_test_init(void)
+static int kmemleak_test_init(void)
{
struct test_node *elem;
int i;