summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2016-01-07 06:25:35 +0000
committerdlg <dlg@openbsd.org>2016-01-07 06:25:35 +0000
commitd4fb819e22f1f37e296d2e58c78569e74057658a (patch)
tree17421bb1ed97338196a3577e5d3c9e8cf77110f7
parentsimplify the calculation of the dmamem size for the tx and rx rings. (diff)
downloadwireguard-openbsd-d4fb819e22f1f37e296d2e58c78569e74057658a.tar.xz
wireguard-openbsd-d4fb819e22f1f37e296d2e58c78569e74057658a.zip
dma_paddr in struct em_dma_alloc is unused, so gc it.
-rw-r--r--sys/dev/pci/if_em.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/pci/if_em.h b/sys/dev/pci/if_em.h
index a1bcd3d6708..bc8203f2e1d 100644
--- a/sys/dev/pci/if_em.h
+++ b/sys/dev/pci/if_em.h
@@ -32,7 +32,7 @@ POSSIBILITY OF SUCH DAMAGE.
***************************************************************************/
/* $FreeBSD: if_em.h,v 1.26 2004/09/01 23:22:41 pdeuskar Exp $ */
-/* $OpenBSD: if_em.h,v 1.66 2016/01/07 05:34:11 dlg Exp $ */
+/* $OpenBSD: if_em.h,v 1.67 2016/01/07 06:25:35 dlg Exp $ */
#ifndef _EM_H_DEFINED_
#define _EM_H_DEFINED_
@@ -280,7 +280,6 @@ struct em_buffer {
* em_dma_malloc and em_dma_free.
*/
struct em_dma_alloc {
- bus_addr_t dma_paddr;
caddr_t dma_vaddr;
bus_dmamap_t dma_map;
bus_dma_segment_t dma_seg;