diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2014-01-31 00:52:21 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2014-01-31 00:52:21 +0000 |
commit | 7b4faf18881f32a8808d974fdb9842c9954ed786 (patch) | |
tree | ffca21386d4cb7f8af61f7481d0ee391d6b05f35 | |
parent | cd8953fdf3ba9e99ac713c5a896ddf648c187be1 (diff) |
sc_function is set, but never used for anything useful. clean it up...
-rw-r--r-- | sys/dev/pci/if_myx.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/pci/if_myx.c b/sys/dev/pci/if_myx.c index 248e65b5c4b..cbc0ffeab1a 100644 --- a/sys/dev/pci/if_myx.c +++ b/sys/dev/pci/if_myx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_myx.c,v 1.53 2014/01/31 00:50:45 dlg Exp $ */ +/* $OpenBSD: if_myx.c,v 1.54 2014/01/31 00:52:20 dlg Exp $ */ /* * Copyright (c) 2007 Reyk Floeter <reyk@openbsd.org> @@ -106,7 +106,6 @@ struct myx_softc { pci_chipset_tag_t sc_pc; pci_intr_handle_t sc_ih; pcitag_t sc_tag; - u_int sc_function; bus_dma_tag_t sc_dmat; bus_space_tag_t sc_memt; @@ -268,7 +267,6 @@ myx_attach(struct device *parent, struct device *self, void *aux) sc->sc_pc = pa->pa_pc; sc->sc_tag = pa->pa_tag; sc->sc_dmat = pa->pa_dmat; - sc->sc_function = pa->pa_function; myx_ring_lock_init(&sc->sc_rx_ring_lock[MYX_RXSMALL]); myx_bufs_init(&sc->sc_rx_buf_free[MYX_RXSMALL]); |