diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2006-08-25 02:13:52 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2006-08-25 02:13:52 +0000 |
commit | 1548ff7fbc2f14924f064d3d1db21853e44e0a15 (patch) | |
tree | 542f632d014fc22e6131629cc90c58272eff5122 /sys/dev | |
parent | 973a61de709956c3b90655c0adf769d4d991cef2 (diff) |
don't need to clear if_timer during attach.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/if_bnx.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/pci/if_bnx.c b/sys/dev/pci/if_bnx.c index 89303c26537..cbadc978217 100644 --- a/sys/dev/pci/if_bnx.c +++ b/sys/dev/pci/if_bnx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_bnx.c,v 1.22 2006/08/21 17:02:03 deraadt Exp $ */ +/* $OpenBSD: if_bnx.c,v 1.23 2006/08/25 02:13:51 brad Exp $ */ /*- * Copyright (c) 2006 Broadcom Corporation @@ -561,7 +561,6 @@ bnx_attach(struct device *parent, struct device *self, void *aux) ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST; ifp->if_ioctl = bnx_ioctl; ifp->if_start = bnx_start; - ifp->if_timer = 0; ifp->if_watchdog = bnx_watchdog; if (sc->bnx_phy_flags & BNX_PHY_2_5G_CAPABLE_FLAG) ifp->if_baudrate = IF_Gbps(2.5); |