summaryrefslogtreecommitdiffstats
path: root/drivers/misc/ti-st
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2015-11-20 10:53:50 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-08 08:01:45 +0100
commitc7f340f844de848e6e15c964ad2ce597dbd31441 (patch)
treed9d68b1311aead8b862c41b7acb96d8b31bb01e4 /drivers/misc/ti-st
parentscripts: fix typo in ver_linux (diff)
downloadlinux-c7f340f844de848e6e15c964ad2ce597dbd31441.tar.xz
linux-c7f340f844de848e6e15c964ad2ce597dbd31441.zip
misc: st_core: remove unreachable code
The pr_debug() will never be executed. Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/ti-st')
-rw-r--r--drivers/misc/ti-st/st_core.c1
1 files changed, 0 insertions, 1 deletions
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);