Date: Mon, 29 Nov 1999 23:06:04 -0800 (PST) From: "Matthew N. Dodd" <mdodd@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern subr_bus.c Message-ID: <199911300706.XAA98936@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911300706.XAA98936>
