Commit cec97e15 authored by Hari Kanigeri's avatar Hari Kanigeri

removed bug on that is not needed

removed bug that is not needed.
Signed-off-by: default avatarHari Kanigeri <h-kangieri2@ti.com>
parent d335b8ec
...@@ -159,8 +159,8 @@ int proc4430_destroy(void) ...@@ -159,8 +159,8 @@ int proc4430_destroy(void)
* delete them. * delete them.
*/ */
for (i = 0; i < MULTIPROC_MAXPROCESSORS; i++) { for (i = 0; i < MULTIPROC_MAXPROCESSORS; i++) {
BUG_ON(proc4430_state.proc_handles[i] == NULL); if (proc4430_state.proc_handles[i] == NULL)
if (proc4430_state.proc_handles[i] != NULL) continue;
proc4430_delete(&(proc4430_state.proc_handles[i])); proc4430_delete(&(proc4430_state.proc_handles[i]));
} }
......
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