diff options
author | 2006-03-04 23:40:14 +0000 | |
---|---|---|
committer | 2006-03-04 23:40:14 +0000 | |
commit | 502b262cce2aa267c3900bfbc922e5ad2323f56d (patch) | |
tree | 7058e1d7f3fc842c937d63ca4d19efa8a24a3097 | |
parent | remove extraneous brackets. (diff) | |
download | wireguard-openbsd-502b262cce2aa267c3900bfbc922e5ad2323f56d.tar.xz wireguard-openbsd-502b262cce2aa267c3900bfbc922e5ad2323f56d.zip |
don't set the interface pointer twice in tl_init().
From: Andrey Matveev <evol at online dot ptt dot ru>
-rw-r--r-- | sys/dev/pci/if_tl.c | 4 |
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. */ |