mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-04 16:25:34 +00:00

No one is calling this macro, and no one should, so remove it from the .h file. Cc: Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp> Cc: Jiri Slaby <jirislaby@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Link: https://lore.kernel.org/r/20210408125134.3016837-3-gregkh@linuxfoundation.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
20 lines
623 B
C
20 lines
623 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* TTY core internal functions
|
|
*/
|
|
|
|
#ifndef _TTY_INTERNAL_H
|
|
#define _TTY_INTERNAL_H
|
|
|
|
#define tty_msg(fn, tty, f, ...) \
|
|
fn("%s %s: " f, tty_driver_name(tty), tty_name(tty), ##__VA_ARGS__)
|
|
|
|
#define tty_debug(tty, f, ...) tty_msg(pr_debug, tty, f, ##__VA_ARGS__)
|
|
#define tty_notice(tty, f, ...) tty_msg(pr_notice, tty, f, ##__VA_ARGS__)
|
|
#define tty_warn(tty, f, ...) tty_msg(pr_warn, tty, f, ##__VA_ARGS__)
|
|
#define tty_err(tty, f, ...) tty_msg(pr_err, tty, f, ##__VA_ARGS__)
|
|
|
|
#define tty_info_ratelimited(tty, f, ...) \
|
|
tty_msg(pr_info_ratelimited, tty, f, ##__VA_ARGS__)
|
|
|
|
#endif
|