From owner-svn-src-head@freebsd.org Sun Sep 20 13:15:10 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 45E7CA02CA0; Sun, 20 Sep 2015 13:15:10 +0000 (UTC) (envelope-from loos@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 364EA121D; Sun, 20 Sep 2015 13:15:10 +0000 (UTC) (envelope-from loos@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t8KDFARE099190; Sun, 20 Sep 2015 13:15:10 GMT (envelope-from loos@FreeBSD.org) Received: (from loos@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t8KDFAbP099189; Sun, 20 Sep 2015 13:15:10 GMT (envelope-from loos@FreeBSD.org) Message-Id: <201509201315.t8KDFAbP099189@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: loos set sender to loos@FreeBSD.org using -f From: Luiz Otavio O Souza Date: Sun, 20 Sep 2015 13:15:10 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r288022 - head/sys/dev/dwc X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 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: Sun, 20 Sep 2015 13:15:10 -0000 Author: loos Date: Sun Sep 20 13:15:09 2015 New Revision: 288022 URL: https://svnweb.freebsd.org/changeset/base/288022 Log: Remove unnecessary includes and, while here, sort them. Modified: head/sys/dev/dwc/if_dwc.c Modified: head/sys/dev/dwc/if_dwc.c ============================================================================== --- head/sys/dev/dwc/if_dwc.c Sun Sep 20 11:39:19 2015 (r288021) +++ head/sys/dev/dwc/if_dwc.c Sun Sep 20 13:15:09 2015 (r288022) @@ -43,21 +43,14 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include -#include -#include -#include #include +#include #include +#include #include +#include #include #include -#include - -#include -#include -#include -#include #include #include @@ -66,13 +59,15 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include -#include +#include #include #include +#include +#include + #include "miibus_if.h" #define READ4(_sc, _reg) \ @@ -85,8 +80,6 @@ __FBSDID("$FreeBSD$"); #define STATS_HARVEST_INTERVAL 2 #define MII_CLK_VAL 2 -#include - #define DWC_LOCK(sc) mtx_lock(&(sc)->mtx) #define DWC_UNLOCK(sc) mtx_unlock(&(sc)->mtx) #define DWC_ASSERT_LOCKED(sc) mtx_assert(&(sc)->mtx, MA_OWNED)