Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Sudip Mukherjee and committed by
Greg Kroah-Hartman
c7f340f8 9d403a99

-1
-1
drivers/misc/ti-st/st_core.c
··· 632 632 spin_unlock_irqrestore(&st_gdata->lock, flags); 633 633 return err; 634 634 } 635 - pr_debug("done %s(%d) ", __func__, new_proto->chnl_id); 636 635 } 637 636 EXPORT_SYMBOL_GPL(st_register); 638 637