summaryrefslogtreecommitdiffstats
path: root/samples/trace_printk
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2020-03-16 07:49:10 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-03-16 08:39:47 +0100
commitb18d1c2efa47f7fbf20a7ca4e121a991c3272326 (patch)
tree0887dea4cafd61045618d2f58b14de9f43179c49 /samples/trace_printk
parent5b30dee6cc07fd91eedcb3a1ba1b81af8512c011 (diff)
downloadlinux-stable-b18d1c2efa47f7fbf20a7ca4e121a991c3272326.tar.gz
linux-stable-b18d1c2efa47f7fbf20a7ca4e121a991c3272326.tar.bz2
linux-stable-b18d1c2efa47f7fbf20a7ca4e121a991c3272326.zip
tty: n_hdlc, remove FILE and LINE from pr_debug
As Joe suggests, dynamic debug can print module name and line number along with message. So remove __FILE__ and __LINE__ from all those pr_debug calls. Out of curiosity, I measured the savings, 200 bytes of code are gone. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Suggested-by: Joe Perches <joe@perches.com> Link: https://lore.kernel.org/r/20200316064910.4941-1-jslaby@suse.cz Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'samples/trace_printk')
0 files changed, 0 insertions, 0 deletions