From owner-cvs-all Mon Nov 29 23: 6: 6 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 9D9EA152C8; Mon, 29 Nov 1999 23:06:04 -0800 (PST) (envelope-from mdodd@FreeBSD.org) Received: (from mdodd@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id XAA98936; Mon, 29 Nov 1999 23:06:04 -0800 (PST) (envelope-from mdodd@FreeBSD.org) Message-Id: <199911300706.XAA98936@freefall.freebsd.org> From: "Matthew N. Dodd" Date: Mon, 29 Nov 1999 23:06:04 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern subr_bus.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk mdodd 1999/11/29 23:06:04 PST Modified files: sys/kern subr_bus.c Log: Reduce code duplication. Hopefully this clears up some confusion about the nature of devclass_get_softc() vs. device_get_softc() as well. The check against DS_ATTACHED remains as this is not a change that modifies functionality. Reviewed by: Peter "in principle" Wemm Revision Changes Path 1.47 +9 -7 src/sys/kern/subr_bus.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message