summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/ucom.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-06-11 11:16:26 +0000
committerphk <phk@FreeBSD.org>2004-06-11 11:16:26 +0000
commit86602fc06c6eef73f48ce541f6b8d2b6af993629 (patch)
treeeeeded1f490a2da21f50d2e6f81efd45f8326e90 /sys/dev/usb/ucom.c
parent31644ac9d825eba99a73dc4d36f6f2c06879799d (diff)
downloadFreeBSD-src-86602fc06c6eef73f48ce541f6b8d2b6af993629.zip
FreeBSD-src-86602fc06c6eef73f48ce541f6b8d2b6af993629.tar.gz
Deorbit COMPAT_SUNOS.
We inherited this from the sparc32 port of BSD4.4-Lite1. We have neither a sparc32 port nor a SunOS4.x compatibility desire these days.
Diffstat (limited to 'sys/dev/usb/ucom.c')
-rw-r--r--sys/dev/usb/ucom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/ucom.c b/sys/dev/usb/ucom.c
index b28a0f0..82ab31b 100644
--- a/sys/dev/usb/ucom.c
+++ b/sys/dev/usb/ucom.c
@@ -539,7 +539,7 @@ ucomioctl(dev_t dev, u_long cmd, caddr_t data, int flag, usb_proc_ptr p)
int error;
int s;
int d;
-#if defined(COMPAT_43) || defined(COMPAT_SUNOS)
+#if defined(COMPAT_43)
u_long oldcmd;
struct termios term;
#endif
@@ -552,7 +552,7 @@ ucomioctl(dev_t dev, u_long cmd, caddr_t data, int flag, usb_proc_ptr p)
DPRINTF(("ucomioctl: cmd = 0x%08lx\n", cmd));
-#if defined(COMPAT_43) || defined(COMPAT_SUNOS)
+#if defined(COMPAT_43)
term = tp->t_termios;
oldcmd = cmd;
error = ttsetcompat(tp, &cmd, data, &term);
OpenPOWER on IntegriCloud