Author: imp Date: Wed Jun 10 01:02:38 2009 New Revision: 193874 URL: http://svn.freebsd.org/changeset/base/193874
Log: We can actually remove devclass_find_driver. Modified: head/sys/kern/subr_bus.c Modified: head/sys/kern/subr_bus.c ============================================================================== --- head/sys/kern/subr_bus.c Tue Jun 9 23:38:19 2009 (r193873) +++ head/sys/kern/subr_bus.c Wed Jun 10 01:02:38 2009 (r193874) @@ -1199,27 +1199,6 @@ devclass_find_driver_internal(devclass_t } /** - * @brief Search a devclass for a driver - * - * This function searches the devclass's list of drivers and returns - * the first driver whose name is @p classname or @c NULL if there is - * no driver of that name. - * - * @param dc the devclass to search - * @param classname the driver name to search for - */ -static kobj_class_t -devclass_find_driver(devclass_t dc, const char *classname) -{ - driverlink_t dl; - - dl = devclass_find_driver_internal(dc, classname); - if (dl) - return (dl->driver); - return (NULL); -} - -/** * @brief Return the name of the devclass */ const char * _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"