diff options
author | Hans Petter Selasky <hselasky@FreeBSD.org> | 2012-03-29 15:47:29 +0000 |
---|---|---|
committer | Hans Petter Selasky <hselasky@FreeBSD.org> | 2012-03-29 15:47:29 +0000 |
commit | d1eacc02f13c5933ac2d8d1b94cd1212f1a1e59b (patch) | |
tree | 66db1b6a0eba64ec2f3df51ea98349adf2e83a17 /sys/sys/tty.h | |
parent | 8e0f1d18c8d9dd04fce695962b185b6ac45618cd (diff) | |
download | src-d1eacc02f13c5933ac2d8d1b94cd1212f1a1e59b.tar.gz src-d1eacc02f13c5933ac2d8d1b94cd1212f1a1e59b.zip |
Move tty_opened_ns() into syscons.c which is currently the
only client of this macro.
Suggested by: ed @
MFC after: 1 week
Notes
Notes:
svn path=/head/; revision=233664
Diffstat (limited to 'sys/sys/tty.h')
-rw-r--r-- | sys/sys/tty.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/sys/tty.h b/sys/sys/tty.h index a25bf882e212..42f264b9545d 100644 --- a/sys/sys/tty.h +++ b/sys/sys/tty.h @@ -197,8 +197,6 @@ void tty_hiwat_in_block(struct tty *tp); void tty_hiwat_in_unblock(struct tty *tp); dev_t tty_udev(struct tty *tp); #define tty_opened(tp) ((tp)->t_flags & TF_OPENED) -/* NULL-safe version of "tty_opened()" */ -#define tty_opened_ns(tp) ((tp) != NULL && tty_opened(tp)) #define tty_gone(tp) ((tp)->t_flags & TF_GONE) #define tty_softc(tp) ((tp)->t_devswsoftc) #define tty_devname(tp) devtoname((tp)->t_dev) |