From owner-cvs-all@FreeBSD.ORG Mon May 28 18:20:16 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8407C16A46E; Mon, 28 May 2007 18:20:16 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 5D74313C45A; Mon, 28 May 2007 18:20:16 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l4SIKGlq079405; Mon, 28 May 2007 18:20:16 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l4SIKGiD079401; Mon, 28 May 2007 18:20:16 GMT (envelope-from rwatson) Message-Id: <200705281820.l4SIKGiD079401@repoman.freebsd.org> From: Robert Watson Date: Mon, 28 May 2007 18:20:16 +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/dev/random randomdev_soft.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: Mon, 28 May 2007 18:20:16 -0000 rwatson 2007-05-28 18:20:16 UTC FreeBSD src repository Modified files: sys/dev/random randomdev_soft.c Log: Don't save SYSCTL_ADD_*() results in a local variable just to throw them away; preserve the ones that are needed for further calls in the init function and ignore the rest entirely. Found with: Coverity Prevent(tm) CID: 563 Revision Changes Path 1.15 +9 -15 src/sys/dev/random/randomdev_soft.c