Remove a warning check which was too general.

This commit is contained in:
Poul-Henning Kamp 1999-09-25 18:52:03 +00:00
parent f327fe4c57
commit 9ab8e01991
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=51662
2 changed files with 2 additions and 6 deletions

View file

@ -237,9 +237,7 @@ spec_open(ap)
return (error);
if (dsw->d_flags & D_TTY) {
if (!dev->si_tty) {
printf("Warning:%s: no si_tty\n", devtoname(dev));
} else {
if (dev->si_tty) {
struct tty *tp;
tp = dev->si_tty;
if (!tp->t_stop) {

View file

@ -237,9 +237,7 @@ spec_open(ap)
return (error);
if (dsw->d_flags & D_TTY) {
if (!dev->si_tty) {
printf("Warning:%s: no si_tty\n", devtoname(dev));
} else {
if (dev->si_tty) {
struct tty *tp;
tp = dev->si_tty;
if (!tp->t_stop) {