Un-obfuscate a small bit of code.

This commit is contained in:
thorpej 2000-02-01 00:00:22 +00:00
parent 891a2a9719
commit af62350e32
1 changed files with 6 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: llc_input.c,v 1.7 1998/09/13 16:21:18 christos Exp $ */
/* $NetBSD: llc_input.c,v 1.8 2000/02/01 00:00:22 thorpej Exp $ */
/*
* Copyright (c) 1990, 1991, 1992
@ -392,9 +392,11 @@ llc_ctlinput(prc, addr, info)
if (prc == PRC_IFUP || prc == PRC_IFDOWN) {
/* we use either this set ... */
ifa = ifa_ifwithaddr(addr);
ifp = ifa ? ifa->ifa_ifp : 0;
if (ifp == 0)
return 0;
if (ifa == NULL)
return (0);
ifp = ifa->ifa_ifp;
if (ifp == NULL)
return (0);
sap = ctlinfo->dlcti_lsap;
config = ctlinfo->dlcti_cfg;