]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit735ac38a8469d34ffb9c550233c76194235ed877
tree0887dea4cafd61045618d2f58b14de9f43179c49
parent21224cc3d2ea9b4c11ec838d1f82d960d8f14900
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