diff options
author | imp <imp@FreeBSD.org> | 2009-03-11 08:19:31 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2009-03-11 08:19:31 +0000 |
commit | 61d6068fc63fe57875db5bf279d09614f145711b (patch) | |
tree | 9f591a9ab744d7283a18ef0605558a9cf95bab09 /sys/kern | |
parent | 13986d5ca0a020dce8ab3fcf51576f589cba3635 (diff) | |
download | FreeBSD-src-61d6068fc63fe57875db5bf279d09614f145711b.zip FreeBSD-src-61d6068fc63fe57875db5bf279d09614f145711b.tar.gz |
Minor nits notice by jhb@
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/subr_bus.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/kern/subr_bus.c b/sys/kern/subr_bus.c index 68d3873..3c526a6 100644 --- a/sys/kern/subr_bus.c +++ b/sys/kern/subr_bus.c @@ -849,7 +849,6 @@ devclass_find(const char *classname) return (devclass_find_internal(classname, NULL, FALSE)); } - /** * @brief Register that a device driver has been added to a devclass * @@ -868,8 +867,8 @@ devclass_find(const char *classname) static void devclass_driver_added(devclass_t dc, driver_t *driver) { - int i; devclass_t parent; + int i; /* * Call BUS_DRIVER_ADDED for any existing busses in this class. @@ -883,7 +882,7 @@ devclass_driver_added(devclass_t dc, driver_t *driver) * single parent pointer around, we walk the entire list of * devclasses looking for children. We set the * DC_HAS_CHILDREN flag when a child devclass is created on - * the parent, so we only walk thoe list for those devclasses + * the parent, so we only walk the list for those devclasses * that have children. */ if (!(dc->flags & DC_HAS_CHILDREN)) |