summaryrefslogtreecommitdiff
path: root/net/9p/mod.c
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2021-11-03 20:38:21 +0100
committerDominique Martinet <asmadeus@codewreck.org>2022-01-10 09:58:30 +0900
commit1c582c6dc4244d88f702dc3afd5b47225332edf6 (patch)
tree721791c320b35e6e17c1333b61a2664129d57e07 /net/9p/mod.c
parent90d6cf349c5604bd79f1191d09ff1be0165a0513 (diff)
9p/trans_fd: split into dedicated module
This allows these transports only to be used when needed. Link: https://lkml.kernel.org/r/20211103193823.111007-3-linux@weissschuh.net Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> [Dominique: Kconfig NET_9P_FD: -depends VIRTIO, +default NET_9P] Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>
Diffstat (limited to 'net/9p/mod.c')
-rw-r--r--net/9p/mod.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/9p/mod.c b/net/9p/mod.c
index c37fc201a944..521e0925fbd6 100644
--- a/net/9p/mod.c
+++ b/net/9p/mod.c
@@ -177,7 +177,6 @@ static int __init init_p9(void)
p9_error_init();
pr_info("Installing 9P2000 support\n");
- p9_trans_fd_init();
return ret;
}
@@ -191,7 +190,6 @@ static void __exit exit_p9(void)
{
pr_info("Unloading 9P2000 support\n");
- p9_trans_fd_exit();
p9_client_exit();
}