Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/virtio viocon(4): Omit unused sc_dmamap.



details:   https://anonhg.NetBSD.org/src/rev/29114806c64c
branches:  trunk
changeset: 368937:29114806c64c
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sat Aug 13 17:31:32 2022 +0000

description:
viocon(4): Omit unused sc_dmamap.

diffstat:

 sys/dev/virtio/viocon.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r f72fbdae17d9 -r 29114806c64c sys/dev/virtio/viocon.c
--- a/sys/dev/virtio/viocon.c   Sat Aug 13 17:31:21 2022 +0000
+++ b/sys/dev/virtio/viocon.c   Sat Aug 13 17:31:32 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: viocon.c,v 1.4 2022/08/13 17:31:21 riastradh Exp $     */
+/*     $NetBSD: viocon.c,v 1.5 2022/08/13 17:31:32 riastradh Exp $     */
 /*     $OpenBSD: viocon.c,v 1.8 2021/11/05 11:38:29 mpi Exp $  */
 
 /*
@@ -18,7 +18,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: viocon.c,v 1.4 2022/08/13 17:31:21 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: viocon.c,v 1.5 2022/08/13 17:31:32 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -129,8 +129,6 @@
 
        unsigned int             sc_max_ports;
        struct viocon_port      **sc_ports;
-
-       bus_dmamap_t             sc_dmamap;
 };
 
 int    viocon_match(struct device *, struct cfdata *, void *);



Home | Main Index | Thread Index | Old Index