Skip to content

Commit

Permalink
ehea: Fix workqueue handling
Browse files Browse the repository at this point in the history
Fix: Workqueue ehea_driver_wq was not destroyed

Signed-off-by: Thomas Klein <tklein@de.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
  • Loading branch information
Thomas Klein authored and Jeff Garzik committed Aug 7, 2007
1 parent 76b9cfc commit f46f6ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ehea/ehea.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
#include <asm/io.h>

#define DRV_NAME "ehea"
#define DRV_VERSION "EHEA_0072"
#define DRV_VERSION "EHEA_0073"

/* eHEA capability flags */
#define DLPAR_PORT_ADD_REM 1
Expand Down
1 change: 1 addition & 0 deletions drivers/net/ehea/ehea_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -3099,6 +3099,7 @@ int __init ehea_module_init(void)

static void __exit ehea_module_exit(void)
{
destroy_workqueue(ehea_driver_wq);
driver_remove_file(&ehea_driver.driver, &driver_attr_capabilities);
ibmebus_unregister_driver(&ehea_driver);
ehea_destroy_busmap();
Expand Down

0 comments on commit f46f6ba

Please sign in to comment.