diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2009-08-16 12:57:23 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2009-08-16 12:57:23 +0000 |
commit | c3beafbb49e1d15af6fc5a06084a95654ddfe9cb (patch) | |
tree | 8c7118aafdecf8d904965896ffb0a1c35e424219 /sys/dev/usb/moscom.c | |
parent | f7aeb80c32e306491000e6a4091e2c41b703d0d9 (diff) |
remove moscom_get_status() as it not called or required.
Diffstat (limited to 'sys/dev/usb/moscom.c')
-rw-r--r-- | sys/dev/usb/moscom.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/sys/dev/usb/moscom.c b/sys/dev/usb/moscom.c index f0873cfb2c8..cad48e97161 100644 --- a/sys/dev/usb/moscom.c +++ b/sys/dev/usb/moscom.c @@ -1,4 +1,4 @@ -/* $OpenBSD: moscom.c,v 1.11 2007/10/11 18:33:14 deraadt Exp $ */ +/* $OpenBSD: moscom.c,v 1.12 2009/08/16 12:57:22 jsg Exp $ */ /* * Copyright (c) 2006 Jonathan Gray <jsg@openbsd.org> @@ -145,7 +145,6 @@ struct moscom_softc { u_char sc_dying; }; -void moscom_get_status(void *, int, u_char *, u_char *); void moscom_set(void *, int, int, int); int moscom_param(void *, int, struct termios *); int moscom_open(void *, int); @@ -422,17 +421,6 @@ moscom_param(void *vsc, int portno, struct termios *t) return (0); } -void -moscom_get_status(void *vsc, int portno, u_char *lsr, u_char *msr) -{ - struct moscom_softc *sc = vsc; - - if (msr != NULL) - *msr = sc->sc_msr; - if (lsr != NULL) - *lsr = sc->sc_lsr; -} - int moscom_cmd(struct moscom_softc *sc, int reg, int val) { |