]> 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)
commit659f2b8859f16316256cf30a0c6cb5065ad9e9bc
tree0887dea4cafd61045618d2f58b14de9f43179c49
parent761c5f4620b061644cda1ccca7d864ac85a4bfef
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