From owner-svn-src-head@freebsd.org Tue Sep 1 21:43:38 2020 Return-Path: Delivered-To: svn-src-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7DD2C37B7DA; Tue, 1 Sep 2020 21:43:38 +0000 (UTC) (envelope-from mjg@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bh0ty2r1xz4RNf; Tue, 1 Sep 2020 21:43:38 +0000 (UTC) (envelope-from mjg@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 31BA620224; Tue, 1 Sep 2020 21:43:38 +0000 (UTC) (envelope-from mjg@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 081LhcUE039582; Tue, 1 Sep 2020 21:43:38 GMT (envelope-from mjg@FreeBSD.org) Received: (from mjg@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 081LhaSL039576; Tue, 1 Sep 2020 21:43:36 GMT (envelope-from mjg@FreeBSD.org) Message-Id: <202009012143.081LhaSL039576@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mjg set sender to mjg@FreeBSD.org using -f From: Mateusz Guzik Date: Tue, 1 Sep 2020 21:43:36 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r365125 - head/sys/dev/bwi X-SVN-Group: head X-SVN-Commit-Author: mjg X-SVN-Commit-Paths: head/sys/dev/bwi X-SVN-Commit-Revision: 365125 X-SVN-Commit-Repository: base 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.33 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: Tue, 01 Sep 2020 21:43:38 -0000 Author: mjg Date: Tue Sep 1 21:43:36 2020 New Revision: 365125 URL: https://svnweb.freebsd.org/changeset/base/365125 Log: bwi: clean up empty lines in .c and .h files Modified: head/sys/dev/bwi/bwimac.c head/sys/dev/bwi/bwiphy.c head/sys/dev/bwi/bwirf.c head/sys/dev/bwi/if_bwi.c head/sys/dev/bwi/if_bwi_pci.c head/sys/dev/bwi/if_bwireg.h Modified: head/sys/dev/bwi/bwimac.c ============================================================================== --- head/sys/dev/bwi/bwimac.c Tue Sep 1 21:43:23 2020 (r365124) +++ head/sys/dev/bwi/bwimac.c Tue Sep 1 21:43:36 2020 (r365125) @@ -57,7 +57,7 @@ __FBSDID("$FreeBSD$"); #include #include - + #include #include #include Modified: head/sys/dev/bwi/bwiphy.c ============================================================================== --- head/sys/dev/bwi/bwiphy.c Tue Sep 1 21:43:23 2020 (r365124) +++ head/sys/dev/bwi/bwiphy.c Tue Sep 1 21:43:36 2020 (r365125) @@ -53,7 +53,7 @@ __FBSDID("$FreeBSD$"); #include #include #include - + #include #include #include @@ -88,7 +88,6 @@ static void bwi_phy_config_agc(struct bwi_mac *); static void bwi_tbl_write_2(struct bwi_mac *mac, uint16_t, uint16_t); static void bwi_tbl_write_4(struct bwi_mac *mac, uint16_t, uint32_t); - #define SUP_BPHY(num) { .rev = num, .init = bwi_phy_init_11b_rev##num } static const struct { Modified: head/sys/dev/bwi/bwirf.c ============================================================================== --- head/sys/dev/bwi/bwirf.c Tue Sep 1 21:43:23 2020 (r365124) +++ head/sys/dev/bwi/bwirf.c Tue Sep 1 21:43:36 2020 (r365125) @@ -54,7 +54,7 @@ __FBSDID("$FreeBSD$"); #include #include #include - + #include #include #include Modified: head/sys/dev/bwi/if_bwi.c ============================================================================== --- head/sys/dev/bwi/if_bwi.c Tue Sep 1 21:43:23 2020 (r365124) +++ head/sys/dev/bwi/if_bwi.c Tue Sep 1 21:43:36 2020 (r365125) @@ -55,7 +55,7 @@ __FBSDID("$FreeBSD$"); #include #include #include - + #include #include #include Modified: head/sys/dev/bwi/if_bwi_pci.c ============================================================================== --- head/sys/dev/bwi/if_bwi_pci.c Tue Sep 1 21:43:23 2020 (r365124) +++ head/sys/dev/bwi/if_bwi_pci.c Tue Sep 1 21:43:36 2020 (r365125) @@ -53,7 +53,7 @@ __FBSDID("$FreeBSD$"); #include #include - + #include #include #include @@ -246,7 +246,6 @@ static device_method_t bwi_pci_methods[] = { DEVMETHOD(device_shutdown, bwi_pci_shutdown), DEVMETHOD(device_suspend, bwi_pci_suspend), DEVMETHOD(device_resume, bwi_pci_resume), - { 0,0 } }; static driver_t bwi_driver = { Modified: head/sys/dev/bwi/if_bwireg.h ============================================================================== --- head/sys/dev/bwi/if_bwireg.h Tue Sep 1 21:43:23 2020 (r365124) +++ head/sys/dev/bwi/if_bwireg.h Tue Sep 1 21:43:36 2020 (r365125) @@ -77,7 +77,6 @@ #define BWI_CONF_LO_REQTO_MASK __BITS(6, 4) /* request timeout */ #define BWI_CONF_LO_REQTO 3 - #define BWI_ID_LO 0xff8 #define BWI_ID_LO_BUSREV_MASK __BITS(31, 28) /* Bus revision */