Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Dec 2009 20:45:33 +0000 (UTC)
From:      Pyun YongHyeon <yongari@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r200966 - head/sys/dev/ste
Message-ID:  <200912242045.nBOKjX04040964@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yongari
Date: Thu Dec 24 20:45:33 2009
New Revision: 200966
URL: http://svn.freebsd.org/changeset/base/200966

Log:
  ether_ifattach sets if_mtu, remove unnecessary code.

Modified:
  head/sys/dev/ste/if_ste.c

Modified: head/sys/dev/ste/if_ste.c
==============================================================================
--- head/sys/dev/ste/if_ste.c	Thu Dec 24 20:43:31 2009	(r200965)
+++ head/sys/dev/ste/if_ste.c	Thu Dec 24 20:45:33 2009	(r200966)
@@ -1150,7 +1150,6 @@ ste_attach(device_t dev)
 
 	ifp->if_softc = sc;
 	if_initname(ifp, device_get_name(dev), device_get_unit(dev));
-	ifp->if_mtu = ETHERMTU;
 	ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
 	ifp->if_ioctl = ste_ioctl;
 	ifp->if_start = ste_start;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912242045.nBOKjX04040964>