mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
greybus: operation: free resources in the reverse order of allocation
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
This commit is contained in:
parent
95bd99def5
commit
837b3b7c04
1 changed files with 2 additions and 2 deletions
|
|
@ -493,8 +493,8 @@ int gb_operation_init(void)
|
|||
|
||||
void gb_operation_exit(void)
|
||||
{
|
||||
kmem_cache_destroy(gb_operation_cache);
|
||||
gb_operation_cache = NULL;
|
||||
destroy_workqueue(gb_operation_recv_workqueue);
|
||||
gb_operation_recv_workqueue = NULL;
|
||||
kmem_cache_destroy(gb_operation_cache);
|
||||
gb_operation_cache = NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue