Commit e201dad3 authored by Ramesh Gupta's avatar Ramesh Gupta Committed by Hari Kanigeri

SYSLINK proc remove unnecessary WARN_ON

This patch removes a WARN_ON in PROC module
which is not really needed for most of the use cases.
Signed-off-by: default avatarRamesh Gupta G <grgupta@ti.com>
parent f7f0de9d
...@@ -233,7 +233,6 @@ void *proc4430_create(u16 proc_id, const struct proc4430_params *params) ...@@ -233,7 +233,6 @@ void *proc4430_create(u16 proc_id, const struct proc4430_params *params)
if (proc4430_state.proc_handles[proc_id] != NULL) { if (proc4430_state.proc_handles[proc_id] != NULL) {
printk(KERN_WARNING "Processor already exists for specified" printk(KERN_WARNING "Processor already exists for specified"
"%d proc_id\n", proc_id); "%d proc_id\n", proc_id);
WARN_ON(1);
handle = proc4430_state.proc_handles[proc_id]; handle = proc4430_state.proc_handles[proc_id];
goto func_end; goto func_end;
} else { } else {
......
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