summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Sperling <stsp@cvs.openbsd.org>2016-09-02 15:45:18 +0000
committerStefan Sperling <stsp@cvs.openbsd.org>2016-09-02 15:45:18 +0000
commit27386e386742c523943caafbb8a0256ea27cb6bf (patch)
tree6c72f1bf86daeba6b1b96f633ed7895d9640b36f
parentb27ad92942089e2e05a4284d7f7a1c38eebcd2aa (diff)
The struct iwm_rbuf definition, and the wantresp field in struct
iwm_rx_data aren't used anywhere and can be removed. Patch by Imre Vadasz
-rw-r--r--sys/dev/pci/if_iwmvar.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/dev/pci/if_iwmvar.h b/sys/dev/pci/if_iwmvar.h
index 72debc89f88..e2933c927a9 100644
--- a/sys/dev/pci/if_iwmvar.h
+++ b/sys/dev/pci/if_iwmvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_iwmvar.h,v 1.19 2016/08/15 12:59:53 stsp Exp $ */
+/* $OpenBSD: if_iwmvar.h,v 1.20 2016/09/02 15:45:17 stsp Exp $ */
/*
* Copyright (c) 2014 genua mbh <info@genua.de>
@@ -264,17 +264,9 @@ struct iwm_tx_ring {
/* Linux driver optionally uses 8k buffer */
#define IWM_RBUF_SIZE 4096
-struct iwm_softc;
-struct iwm_rbuf {
- struct iwm_softc *sc;
- void *vaddr;
- bus_addr_t paddr;
-};
-
struct iwm_rx_data {
struct mbuf *m;
bus_dmamap_t map;
- int wantresp;
};
struct iwm_rx_ring {