xen-netfront: no need to set if_output

This is redundant because ether_ifattach will set that field.

Submitted by:		Wei Liu <wei.liu2@citrix.com>
Reviewed by:		royger
Differential Revision:	https://reviews.freebsd.org/D3918
Sponsored by:		Citrix Systems R&D
This commit is contained in:
Roger Pau Monné 2015-10-19 14:37:17 +00:00
parent 08c9c2e0a1
commit b31a0d731b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=289588

View File

@ -1906,7 +1906,6 @@ create_netdev(device_t dev)
if_initname(ifp, "xn", device_get_unit(dev));
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
ifp->if_ioctl = xn_ioctl;
ifp->if_output = ether_output;
ifp->if_start = xn_start;
#ifdef notyet
ifp->if_watchdog = xn_watchdog;