]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
vhost: remove unnecessary module_init/exit functions
authorEthan Nelson-Moore <enelsonmoore@gmail.com>
Sat, 31 Jan 2026 02:00:09 +0000 (18:00 -0800)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 10 Jun 2026 06:17:00 +0000 (02:17 -0400)
commitb20b0867f2b36f382d6e77b8f2a489cc37a94366
treecd26bb93328d54d60731e04ce2b5b62d6450a4f4
parent4d130b63bd08b789f70a9f4a7af33104cc8cebce
vhost: remove unnecessary module_init/exit functions

The vhost driver has unnecessary empty module_init and
module_exit functions. Remove them. Note that if a module_init function
exists, a module_exit function must also exist; otherwise, the module
cannot be unloaded.

Signed-off-by: Ethan Nelson-Moore <enelsonmoore@gmail.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Message-ID: <20260131020010.45647-1-enelsonmoore@gmail.com>
drivers/vhost/vhost.c