summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_tl.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pci/if_tl.c')
-rw-r--r--sys/pci/if_tl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/pci/if_tl.c b/sys/pci/if_tl.c
index 509e3f8..1b8bf7b 100644
--- a/sys/pci/if_tl.c
+++ b/sys/pci/if_tl.c
@@ -1137,8 +1137,7 @@ tl_attach(dev)
if (t->tl_name == NULL) {
device_printf(dev, "unknown device!?\n");
- error = ENXIO;
- goto fail;
+ return (ENXIO);
}
mtx_init(&sc->tl_mtx, device_get_nameunit(dev), MTX_NETWORK_LOCK,
OpenPOWER on IntegriCloud