From owner-svn-src-head@freebsd.org Tue Sep 1 22:08:15 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 963F737EB9E; Tue, 1 Sep 2020 22:08:15 +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 4Bh1RM3YtZz4frG; Tue, 1 Sep 2020 22:08:15 +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 5F20F20783; Tue, 1 Sep 2020 22:08:15 +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 081M8Fgc056098; Tue, 1 Sep 2020 22:08:15 GMT (envelope-from mjg@FreeBSD.org) Received: (from mjg@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 081M8Ffi056096; Tue, 1 Sep 2020 22:08:15 GMT (envelope-from mjg@FreeBSD.org) Message-Id: <202009012208.081M8Ffi056096@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:08:15 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r365208 - head/sys/dev/mgb X-SVN-Group: head X-SVN-Commit-Author: mjg X-SVN-Commit-Paths: head/sys/dev/mgb X-SVN-Commit-Revision: 365208 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:08:15 -0000 Author: mjg Date: Tue Sep 1 22:08:14 2020 New Revision: 365208 URL: https://svnweb.freebsd.org/changeset/base/365208 Log: mgb: clean up empty lines in .c and .h files Modified: head/sys/dev/mgb/if_mgb.c head/sys/dev/mgb/if_mgb.h Modified: head/sys/dev/mgb/if_mgb.c ============================================================================== --- head/sys/dev/mgb/if_mgb.c Tue Sep 1 22:07:59 2020 (r365207) +++ head/sys/dev/mgb/if_mgb.c Tue Sep 1 22:08:14 2020 (r365208) @@ -241,7 +241,6 @@ static device_method_t mgb_iflib_methods[] = { DEVMETHOD(ifdi_intr_enable, mgb_intr_enable_all), DEVMETHOD(ifdi_intr_disable, mgb_intr_disable_all), - #if 0 /* Not yet implemented IFLIB methods */ /* * Set multicast addresses, mtu and promiscuous mode @@ -323,7 +322,6 @@ struct if_shared_ctx mgb_sctx_init = { }; /*********************************************************************/ - static void * mgb_register(device_t dev) Modified: head/sys/dev/mgb/if_mgb.h ============================================================================== --- head/sys/dev/mgb/if_mgb.h Tue Sep 1 22:07:59 2020 (r365207) +++ head/sys/dev/mgb/if_mgb.h Tue Sep 1 22:08:14 2020 (r365208) @@ -217,7 +217,6 @@ #define MGB_INTR_VEC_STS(_v) (1 << (_v)) #define MGB_INTR_RX_VEC_STS(_qid) MGB_INTR_VEC_STS((_qid) + 1) - #define MGB_STS_OK ( 0 ) #define MGB_STS_TIMEOUT (-1 ) @@ -322,7 +321,6 @@ struct mgb_softc { struct mtx mtx; struct callout watchdog; int timer; - bus_dma_tag_t dma_parent_tag; struct mgb_ring_data rx_ring_data;