diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2020-07-22 08:38:52 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2020-07-22 08:38:52 +0000 |
commit | 4156df6f4587c887e43a21765bdfc5f83e2c38de (patch) | |
tree | 80ddeebf82d1c732902b73d861a5c6216d3ae55b /sys/net | |
parent | fe052904ad8872ec58254c5bec439af27323e99f (diff) |
gc some ifmedia stuff that this driver doesnt use.
no functional change.
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if_bpe.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/net/if_bpe.c b/sys/net/if_bpe.c index 9ce5df4a430..366ffcd03aa 100644 --- a/sys/net/if_bpe.c +++ b/sys/net/if_bpe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_bpe.c,v 1.12 2020/07/10 13:26:41 patrick Exp $ */ +/* $OpenBSD: if_bpe.c,v 1.13 2020/07/22 08:38:51 dlg Exp $ */ /* * Copyright (c) 2018 David Gwynne <dlg@openbsd.org> * @@ -97,7 +97,6 @@ RBT_GENERATE(bpe_map, bpe_entry, be_entry, bpe_entry_cmp); struct bpe_softc { struct bpe_key sc_key; /* must be first */ struct arpcom sc_ac; - struct ifmedia sc_media; int sc_txhprio; int sc_rxhprio; uint8_t sc_group[ETHER_ADDR_LEN]; @@ -210,7 +209,6 @@ bpe_clone_destroy(struct ifnet *ifp) bpe_down(sc); NET_UNLOCK(); - ifmedia_delete_instance(&sc->sc_media, IFM_INST_ANY); ether_ifdetach(ifp); if_detach(ifp); |