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
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) {