Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/usb ucom(4): Missed a spot in previous -- nix now-un...



details:   https://anonhg.NetBSD.org/src/rev/7e3ddafd0b63
branches:  trunk
changeset: 373565:7e3ddafd0b63
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Fri Feb 17 23:44:18 2023 +0000

description:
ucom(4): Missed a spot in previous -- nix now-unused local.

diffstat:

 sys/dev/usb/ucom.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r ef14c9e1c7b8 -r 7e3ddafd0b63 sys/dev/usb/ucom.c
--- a/sys/dev/usb/ucom.c        Fri Feb 17 23:38:54 2023 +0000
+++ b/sys/dev/usb/ucom.c        Fri Feb 17 23:44:18 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ucom.c,v 1.135 2023/02/17 23:38:54 riastradh Exp $     */
+/*     $NetBSD: ucom.c,v 1.136 2023/02/17 23:44:18 riastradh Exp $     */
 
 /*
  * Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ucom.c,v 1.135 2023/02/17 23:38:54 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ucom.c,v 1.136 2023/02/17 23:44:18 riastradh Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -1435,7 +1435,6 @@
 ucomreadcb(struct usbd_xfer *xfer, void *p, usbd_status status)
 {
        struct ucom_softc *sc = (struct ucom_softc *)p;
-       struct tty *tp = sc->sc_tty;
        struct ucom_buffer *ub;
        uint32_t cc;
        u_char *cp;



Home | Main Index | Thread Index | Old Index