projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95bd99d
)
greybus: operation: free resources in the reverse order of allocation
author
Viresh Kumar
<viresh.kumar@linaro.org>
Fri, 14 Nov 2014 11:55:00 +0000
(17:25 +0530)
committer
Greg Kroah-Hartman
<greg@kroah.com>
Fri, 14 Nov 2014 21:32:27 +0000
(13:32 -0800)
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/operation.c
patch
|
blob
|
history
diff --git
a/drivers/staging/greybus/operation.c
b/drivers/staging/greybus/operation.c
index 7fcd8e4285eac430fddcd3df678fd5b89c2115d2..603697e5c11698ab80e2213084e38ff472dac14a 100644
(file)
--- a/
drivers/staging/greybus/operation.c
+++ b/
drivers/staging/greybus/operation.c
@@
-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;
}