diff options
author | royger <royger@FreeBSD.org> | 2015-10-19 14:37:17 +0000 |
---|---|---|
committer | royger <royger@FreeBSD.org> | 2015-10-19 14:37:17 +0000 |
commit | 49a8398485cf560f83f4301f8e48d4756d5048ee (patch) | |
tree | 6b685d55094c871e529424d7fca89119093b0e51 /sys/dev/xen | |
parent | 679be7340e848e32decce6cd89f7ea0a0c5106f8 (diff) | |
download | FreeBSD-src-49a8398485cf560f83f4301f8e48d4756d5048ee.zip FreeBSD-src-49a8398485cf560f83f4301f8e48d4756d5048ee.tar.gz |
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
Diffstat (limited to 'sys/dev/xen')
-rw-r--r-- | sys/dev/xen/netfront/netfront.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/xen/netfront/netfront.c b/sys/dev/xen/netfront/netfront.c index 521292b..687cb1c 100644 --- a/sys/dev/xen/netfront/netfront.c +++ b/sys/dev/xen/netfront/netfront.c @@ -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; |