svn commit: r229879 - stable/8/sys/dev/msk
Pyun YongHyeon
yongari at FreeBSD.org
Mon Jan 9 20:14:53 UTC 2012
Author: yongari
Date: Mon Jan 9 20:14:52 2012
New Revision: 229879
URL: http://svn.freebsd.org/changeset/base/229879
Log:
MFC r198999:
Take a step towards removing if_watchdog/if_timer. Don't explicitly set
if_watchdog/if_timer to NULL/0 when initializing an ifnet. if_alloc()
sets those members to NULL/0 already.
Modified:
stable/8/sys/dev/msk/if_msk.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
stable/8/sys/cddl/contrib/opensolaris/ (props changed)
stable/8/sys/contrib/dev/acpica/ (props changed)
stable/8/sys/contrib/pf/ (props changed)
Modified: stable/8/sys/dev/msk/if_msk.c
==============================================================================
--- stable/8/sys/dev/msk/if_msk.c Mon Jan 9 20:08:57 2012 (r229878)
+++ stable/8/sys/dev/msk/if_msk.c Mon Jan 9 20:14:52 2012 (r229879)
@@ -1661,8 +1661,6 @@ msk_attach(device_t dev)
ifp->if_capenable = ifp->if_capabilities;
ifp->if_ioctl = msk_ioctl;
ifp->if_start = msk_start;
- ifp->if_timer = 0;
- ifp->if_watchdog = NULL;
ifp->if_init = msk_init;
IFQ_SET_MAXLEN(&ifp->if_snd, MSK_TX_RING_CNT - 1);
ifp->if_snd.ifq_drv_maxlen = MSK_TX_RING_CNT - 1;
More information about the svn-src-stable-8
mailing list