Commit 13fd08d6 authored by Simon Que's avatar Simon Que Committed by Hari Kanigeri

SYSLINK: procmgr - Removed extra ducati_destroy call from proc4430_destroy

In proc4430, ducati_destroy() is called from both proc4430_destroy() and
proc4430_stop().  Since ducati_setup() is called from proc4430_start(), the
call to ducati_destroy() in proc4430_destroy() is invalid.  It generates a
crash.
Signed-off-by: default avatarSimon Que <sque@ti.com>
parent 483fdb05
......@@ -226,7 +226,6 @@ int proc4430_destroy(void)
mutex_destroy(proc4430_state.gate_handle);
kfree(proc4430_state.gate_handle);
}
ducati_destroy();
exit:
return retval;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment