Commit 6060b751 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 191b25a5
......@@ -159,8 +159,8 @@ int proc4430_destroy(void)
* delete them.
*/
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]));
}
......
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