summaryrefslogtreecommitdiffstats
path: root/sys/dev/xe/if_xe.c
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2005-06-14 17:38:36 +0000
committerbrooks <brooks@FreeBSD.org>2005-06-14 17:38:36 +0000
commit3516850b6ce634550c6524f9deda6cd3a30f8c69 (patch)
tree3c91ffb84e45eb2847b0f9b033c28cc33c205f20 /sys/dev/xe/if_xe.c
parentbf5c726c0643f6abae6cdb42fe1ead8dd9815993 (diff)
downloadFreeBSD-src-3516850b6ce634550c6524f9deda6cd3a30f8c69.zip
FreeBSD-src-3516850b6ce634550c6524f9deda6cd3a30f8c69.tar.gz
Remove a duplicate assignment.
Reported by: delphij Approved by: re (ifnet blanket)
Diffstat (limited to 'sys/dev/xe/if_xe.c')
-rw-r--r--sys/dev/xe/if_xe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/xe/if_xe.c b/sys/dev/xe/if_xe.c
index 38ec6de..cb706a9 100644
--- a/sys/dev/xe/if_xe.c
+++ b/sys/dev/xe/if_xe.c
@@ -226,7 +226,7 @@ xe_attach (device_t dev)
/* Initialise stuff... */
scp->dev = dev;
- scp->ifp = scp->ifp = if_alloc(IFT_ETHER);
+ scp->ifp = if_alloc(IFT_ETHER);
if (scp->ifp == NULL)
return ENOSPC;
scp->ifm = &scp->ifmedia;
OpenPOWER on IntegriCloud