From owner-cvs-all@FreeBSD.ORG Tue Aug 9 08:37:29 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D35D416A41F; Tue, 9 Aug 2005 08:37:29 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 91B4943D45; Tue, 9 Aug 2005 08:37:29 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j798bTIe095091; Tue, 9 Aug 2005 08:37:29 GMT (envelope-from glebius@repoman.freebsd.org) Received: (from glebius@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j798bTXS095090; Tue, 9 Aug 2005 08:37:29 GMT (envelope-from glebius) Message-Id: <200508090837.j798bTXS095090@repoman.freebsd.org> From: Gleb Smirnoff Date: Tue, 9 Aug 2005 08:37:29 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/netinet6 nd6.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Aug 2005 08:37:30 -0000 glebius 2005-08-09 08:37:29 UTC FreeBSD src repository Modified files: sys/netinet6 nd6.c Log: - Use 'error' variable to store error value, instead of 'i'. - Push 'i' into the only block where it is used. - Remove redundant check for rt being NULL. If rt_check() hasn't returned an error, then rt is valid. Reviewed by: gnn Revision Changes Path 1.51 +6 -9 src/sys/netinet6/nd6.c