From owner-svn-src-head@freebsd.org Tue Sep 1 22:05:22 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 9FF0937E33E; Tue, 1 Sep 2020 22:05:22 +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 4Bh1N23nDnz4dQC; Tue, 1 Sep 2020 22:05:22 +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 6652B2057F; Tue, 1 Sep 2020 22:05:22 +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 081M5MgX055403; Tue, 1 Sep 2020 22:05:22 GMT (envelope-from mjg@FreeBSD.org) Received: (from mjg@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 081M5L7Q055401; Tue, 1 Sep 2020 22:05:21 GMT (envelope-from mjg@FreeBSD.org) Message-Id: <202009012205.081M5L7Q055401@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 22:05:21 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r365197 - head/sys/dev/my X-SVN-Group: head X-SVN-Commit-Author: mjg X-SVN-Commit-Paths: head/sys/dev/my X-SVN-Commit-Revision: 365197 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 22:05:22 -0000 Author: mjg Date: Tue Sep 1 22:05:21 2020 New Revision: 365197 URL: https://svnweb.freebsd.org/changeset/base/365197 Log: my: clean up empty lines in .c and .h files Modified: head/sys/dev/my/if_my.c head/sys/dev/my/if_myreg.h Modified: head/sys/dev/my/if_my.c ============================================================================== --- head/sys/dev/my/if_my.c Tue Sep 1 22:05:00 2020 (r365196) +++ head/sys/dev/my/if_my.c Tue Sep 1 22:05:21 2020 (r365197) @@ -80,7 +80,6 @@ static int MY_USEIOSPACE = 1; #define MY_RID MY_PCI_LOMEM #endif - #include /* @@ -220,7 +219,6 @@ my_send_cmd_to_phy(struct my_softc * sc, int opcode, i return miir; } - static u_int16_t my_phy_readreg(struct my_softc * sc, int reg) { @@ -264,7 +262,6 @@ my_phy_readreg(struct my_softc * sc, int reg) return (u_int16_t) data; } - static void my_phy_writereg(struct my_softc * sc, int reg, int data) { @@ -1006,7 +1003,6 @@ my_detach(device_t dev) return (0); } - /* * Initialize the transmit descriptors. */ @@ -1179,7 +1175,6 @@ my_rxeof(struct my_softc * sc) return; } - /* * A frame was downloaded to the chip. It's safe for us to clean up the list * buffers. @@ -1311,7 +1306,6 @@ my_intr(void *arg) my_init_locked(sc); } #endif - } /* Re-enable interrupts. */ @@ -1708,7 +1702,6 @@ my_watchdog(void *arg) if (!IFQ_DRV_IS_EMPTY(&ifp->if_snd)) my_start_locked(ifp); } - /* * Stop the adapter and free any mbufs allocated to the RX and TX lists. Modified: head/sys/dev/my/if_myreg.h ============================================================================== --- head/sys/dev/my/if_myreg.h Tue Sep 1 22:05:00 2020 (r365196) +++ head/sys/dev/my/if_myreg.h Tue Sep 1 22:05:21 2020 (r365197) @@ -585,5 +585,3 @@ struct my_softc { #define PHY_BMSR_LINKSTAT 0x0004 #define PHY_BMSR_JABBER 0x0002 #define PHY_BMSR_EXTENDED 0x0001 - -