|
@@ -81,8 +81,7 @@ void cc_req_mgr_fini(struct cc_drvdata *drvdata)
|
|
|
/* Kill tasklet */
|
|
/* Kill tasklet */
|
|
|
tasklet_kill(&req_mgr_h->comptask);
|
|
tasklet_kill(&req_mgr_h->comptask);
|
|
|
#endif
|
|
#endif
|
|
|
- memset(req_mgr_h, 0, sizeof(struct cc_req_mgr_handle));
|
|
|
|
|
- kfree(req_mgr_h);
|
|
|
|
|
|
|
+ kzfree(req_mgr_h);
|
|
|
drvdata->request_mgr_handle = NULL;
|
|
drvdata->request_mgr_handle = NULL;
|
|
|
}
|
|
}
|
|
|
|
|
|