Hi,
The struct iwm_rbuf definition, and the wantresp field in struct
iwm_rx_data aren't used anywhere and can be removed:
Index: sys/dev/pci/if_iwmvar.h
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_iwmvar.h,v
retrieving revision 1.19
diff -u -r1.19 if_iwmvar.h
--- sys/dev/pci/if_iwmvar.h 15 Aug 2016 12:59:53 -0000 1.19
+++ sys/dev/pci/if_iwmvar.h 31 Aug 2016 18:53:25 -0000
@@ -264,17 +264,9 @@
/* 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 {