misc: st_core: remove unreachable code
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Fri, 20 Nov 2015 09:53:50 +0000 (15:23 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Feb 2016 07:01:45 +0000 (23:01 -0800)
The pr_debug() will never be executed.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/ti-st/st_core.c

index 6e3af8b42cdd0f37ca509941343a2b963bdb44d7..dcdbd58672ccc6d2f7d1cecf1e04049bd26c6a58 100644 (file)
@@ -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);