diff options
author | Michael Knudsen <mk@cvs.openbsd.org> | 2010-03-07 17:17:34 +0000 |
---|---|---|
committer | Michael Knudsen <mk@cvs.openbsd.org> | 2010-03-07 17:17:34 +0000 |
commit | bedfa8ef23b842377326aac29080762ac51a451b (patch) | |
tree | 38e15f08638a3408058444fc66404fc38c658b56 | |
parent | a76548fc51e2ef80a8a642c538d682747606ea15 (diff) |
Garbage collect a softc member that we don't use because we don't do
multipacket tx.
ok fabien "if you commit over urndis" armani
-rw-r--r-- | sys/dev/usb/if_urndis.c | 3 | ||||
-rw-r--r-- | sys/dev/usb/if_urndisreg.h | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/usb/if_urndis.c b/sys/dev/usb/if_urndis.c index 1fbbfe5801a..8b25514a12b 100644 --- a/sys/dev/usb/if_urndis.c +++ b/sys/dev/usb/if_urndis.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_urndis.c,v 1.14 2010/03/07 16:20:32 fabien Exp $ */ +/* $OpenBSD: if_urndis.c,v 1.15 2010/03/07 17:17:33 mk Exp $ */ /* * Copyright (c) 2010 Jonathan Armani <armani@openbsd.org> @@ -290,7 +290,6 @@ urndis_ctrl_handle_init(struct urndis_softc *sc, const struct urndis_comp_hdr *h } sc->sc_lim_pktsz = letoh32(msg->rm_pktmaxsz); - sc->sc_pktalign = letoh32(msg->rm_align); return letoh32(msg->rm_status); } diff --git a/sys/dev/usb/if_urndisreg.h b/sys/dev/usb/if_urndisreg.h index 6312aded0a4..dd576929ab1 100644 --- a/sys/dev/usb/if_urndisreg.h +++ b/sys/dev/usb/if_urndisreg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_urndisreg.h,v 1.12 2010/03/07 16:20:32 fabien Exp $ */ +/* $OpenBSD: if_urndisreg.h,v 1.13 2010/03/07 17:17:33 mk Exp $ */ /* * Copyright (c) 2010 Jonathan Armani <armani@openbsd.org> @@ -47,7 +47,6 @@ struct urndis_softc { /* RNDIS device info */ u_int32_t sc_lim_pktsz; - u_int32_t sc_pktalign; u_int32_t sc_filter; /* USB goo */ |