From owner-svn-src-head@FreeBSD.ORG Wed Mar 11 08:19:31 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D97CB106566C; Wed, 11 Mar 2009 08:19:31 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id C873C8FC0A; Wed, 11 Mar 2009 08:19:31 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n2B8JV0Y088910; Wed, 11 Mar 2009 08:19:31 GMT (envelope-from imp@svn.freebsd.org) Received: (from imp@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n2B8JVcq088909; Wed, 11 Mar 2009 08:19:31 GMT (envelope-from imp@svn.freebsd.org) Message-Id: <200903110819.n2B8JVcq088909@svn.freebsd.org> From: Warner Losh Date: Wed, 11 Mar 2009 08:19:31 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r189684 - head/sys/kern X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Mar 2009 08:19:32 -0000 Author: imp Date: Wed Mar 11 08:19:31 2009 New Revision: 189684 URL: http://svn.freebsd.org/changeset/base/189684 Log: Minor nits notice by jhb@ Modified: head/sys/kern/subr_bus.c Modified: head/sys/kern/subr_bus.c ============================================================================== --- head/sys/kern/subr_bus.c Wed Mar 11 08:15:17 2009 (r189683) +++ head/sys/kern/subr_bus.c Wed Mar 11 08:19:31 2009 (r189684) @@ -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, dri * 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))