tty: n_hdlc, remove FILE and LINE from pr_debug
authorJiri Slaby <jslaby@suse.cz>
Mon, 16 Mar 2020 06:49:10 +0000 (07:49 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Mar 2020 07:39:47 +0000 (08:39 +0100)
commitb18d1c2efa47f7fbf20a7ca4e121a991c3272326
tree0887dea4cafd61045618d2f58b14de9f43179c49
parent5b30dee6cc07fd91eedcb3a1ba1b81af8512c011
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>
drivers/tty/n_hdlc.c