Make netvsc_drv_exit() the module exit function.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com>
Signed-off-by: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
.remove = netvsc_remove,
};
-static void netvsc_drv_exit(void)
+static void __exit netvsc_drv_exit(void)
{
vmbus_child_driver_unregister(&netvsc_drv.driver);
}
return ret;
}
-static void __exit netvsc_exit(void)
-{
- netvsc_drv_exit();
-}
-
static const struct pci_device_id __initconst
hv_netvsc_pci_table[] __maybe_unused = {
{ PCI_DEVICE(0x1414, 0x5353) }, /* VGA compatible controller */
MODULE_DESCRIPTION("Microsoft Hyper-V network driver");
module_init(netvsc_drv_init);
-module_exit(netvsc_exit);
+module_exit(netvsc_drv_exit);