summaryrefslogtreecommitdiffstats
path: root/sys/dev/fxp/if_fxp.c
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1997-09-30 11:28:24 +0000
committerdg <dg@FreeBSD.org>1997-09-30 11:28:24 +0000
commit44b16832a1d845af33d79c389784d96af62a1644 (patch)
tree7c757c067f94a85af69b36c6f7dac5b09ab31548 /sys/dev/fxp/if_fxp.c
parentd1cdbc3c8145a674f6e9d9aec61ff23fef7d4a93 (diff)
downloadFreeBSD-src-44b16832a1d845af33d79c389784d96af62a1644.zip
FreeBSD-src-44b16832a1d845af33d79c389784d96af62a1644.tar.gz
Killed a gratuitous assignment in a NetBSD case.
Diffstat (limited to 'sys/dev/fxp/if_fxp.c')
-rw-r--r--sys/dev/fxp/if_fxp.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c
index 9f791ae3..a71dbea 100644
--- a/sys/dev/fxp/if_fxp.c
+++ b/sys/dev/fxp/if_fxp.c
@@ -27,7 +27,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: if_fxp.c,v 1.41 1997/09/29 11:27:42 davidg Exp $
+ * $Id: if_fxp.c,v 1.42 1997/09/30 10:50:45 davidg Exp $
*/
/*
@@ -1631,9 +1631,6 @@ fxp_ioctl(ifp, command, data)
case SIOCDELMULTI:
sc->all_mcasts = (ifp->if_flags & IFF_ALLMULTI) ? 1 : 0;
#if defined(__NetBSD__)
- {
- struct ifreq *ifr = (struct ifreq *) data;
-
error = (command == SIOCADDMULTI) ?
ether_addmulti(ifr, &sc->sc_ethercom) :
ether_delmulti(ifr, &sc->sc_ethercom);
@@ -1653,7 +1650,6 @@ fxp_ioctl(ifp, command, data)
fxp_init(sc);
error = 0;
}
- }
#else /* __FreeBSD__ */
/*
* Multicast list has changed; set the hardware filter
OpenPOWER on IntegriCloud