summaryrefslogtreecommitdiffhomepage
path: root/src/main.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2016-08-16 19:38:26 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2016-08-17 15:59:25 +0200
commit12f4da11ed1db15f644ab13095483a51d4583022 (patch)
treefe3a4ef4d77512411ce5cdc16d15942b8009f0fb /src/main.c
parente7c1aac62b8ffc3480baeecd036120da4de8f516 (diff)
qemu: enhancements
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/main.c b/src/main.c
index d1e8a00..67ce6a6 100644
--- a/src/main.c
+++ b/src/main.c
@@ -43,12 +43,6 @@ static void __exit mod_exit(void)
pr_debug("WireGuard has been unloaded\n");
}
-/* We want our selftest debug messages loaded after serial drivers. */
-#if !defined(MODULE) && defined(DEBUG)
-#undef module_init
-#define module_init(a) late_initcall(a)
-#endif
-
module_init(mod_init);
module_exit(mod_exit);
MODULE_LICENSE("GPL v2");