From: Sudip Mukherjee Date: Fri, 20 Nov 2015 09:53:50 +0000 (+0530) Subject: misc: st_core: remove unreachable code X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c7f340f844de848e6e15c964ad2ce597dbd31441;p=openwrt%2Fstaging%2Fblogic.git misc: st_core: remove unreachable code The pr_debug() will never be executed. Signed-off-by: Sudip Mukherjee Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/misc/ti-st/st_core.c b/drivers/misc/ti-st/st_core.c index 6e3af8b42cdd..dcdbd58672cc 100644 --- a/drivers/misc/ti-st/st_core.c +++ b/drivers/misc/ti-st/st_core.c @@ -632,7 +632,6 @@ long st_register(struct st_proto_s *new_proto) spin_unlock_irqrestore(&st_gdata->lock, flags); return err; } - pr_debug("done %s(%d) ", __func__, new_proto->chnl_id); } EXPORT_SYMBOL_GPL(st_register);