summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2006-03-04 23:40:15 +0000
committerBrad Smith <brad@cvs.openbsd.org>2006-03-04 23:40:15 +0000
commitb61ddb146bad2c5a443098dd7c0a756610f091dc (patch)
treeec5f711fa511a3ce1dd828a067acb40142d23f09 /sys
parent17db9f33a256344b4f30ecf531cb6c6d1d9d1f4e (diff)
don't set the interface pointer twice in tl_init().
From: Andrey Matveev <evol at online dot ptt dot ru>
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/if_tl.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/pci/if_tl.c b/sys/dev/pci/if_tl.c
index 242eabfb672..8700d939eb7 100644
--- a/sys/dev/pci/if_tl.c
+++ b/sys/dev/pci/if_tl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_tl.c,v 1.37 2005/11/23 11:30:14 mickey Exp $ */
+/* $OpenBSD: if_tl.c,v 1.38 2006/03/04 23:40:14 brad Exp $ */
/*
* Copyright (c) 1997, 1998
@@ -1646,8 +1646,6 @@ void tl_init(xsc)
s = splnet();
- ifp = &sc->arpcom.ac_if;
-
/*
* Cancel pending I/O.
*/