Commit c7f340f8 authored by Sudip Mukherjee's avatar Sudip Mukherjee Committed by Greg Kroah-Hartman

misc: st_core: remove unreachable code

The pr_debug() will never be executed.
Signed-off-by: default avatarSudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9d403a99
...@@ -632,7 +632,6 @@ long st_register(struct st_proto_s *new_proto) ...@@ -632,7 +632,6 @@ long st_register(struct st_proto_s *new_proto)
spin_unlock_irqrestore(&st_gdata->lock, flags); spin_unlock_irqrestore(&st_gdata->lock, flags);
return err; return err;
} }
pr_debug("done %s(%d) ", __func__, new_proto->chnl_id);
} }
EXPORT_SYMBOL_GPL(st_register); EXPORT_SYMBOL_GPL(st_register);
......
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