From 0114253fa6a67e95b1b1bdad40420d74c55675d8 Mon Sep 17 00:00:00 2001 From: reyk Date: Sat, 24 Oct 2015 11:01:39 +0000 Subject: [PATCH] Remove superfluous assignment. Pointed out by and OK mikeb@ --- sys/net/if_pair.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/net/if_pair.c b/sys/net/if_pair.c index 66f991430d9..10bfc1f88af 100644 --- a/sys/net/if_pair.c +++ b/sys/net/if_pair.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_pair.c,v 1.1 2015/10/24 10:52:05 reyk Exp $ */ +/* $OpenBSD: if_pair.c,v 1.2 2015/10/24 11:01:39 reyk Exp $ */ /* * Copyright (c) 2015 Reyk Floeter @@ -258,7 +258,6 @@ pairioctl(struct ifnet *ifp, u_long cmd, caddr_t data) break; } - pairedsc = newifp->if_softc; pairedsc->sc_pairedif = ifp->if_index; sc->sc_pairedif = ifr->ifr_index; } else -- 2.20.1