diff options
Diffstat (limited to 'sys/dev/xilinx/if_xae.c')
| -rw-r--r-- | sys/dev/xilinx/if_xae.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/dev/xilinx/if_xae.c b/sys/dev/xilinx/if_xae.c index 722be6a21cbd..26f1bf805ffa 100644 --- a/sys/dev/xilinx/if_xae.c +++ b/sys/dev/xilinx/if_xae.c @@ -990,11 +990,6 @@ xae_attach(device_t dev) /* Set up the ethernet interface. */ sc->ifp = ifp = if_alloc(IFT_ETHER); - if (ifp == NULL) { - device_printf(dev, "could not allocate ifp.\n"); - return (ENXIO); - } - if_setsoftc(ifp, sc); if_initname(ifp, device_get_name(dev), device_get_unit(dev)); if_setflags(ifp, IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST); |
