Date: Tue, 1 Sep 2020 21:35:14 +0000 (UTC) From: Mateusz Guzik <mjg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r365102 - head/sys/dev/age Message-ID: <202009012135.081LZEiL032180@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mjg Date: Tue Sep 1 21:35:14 2020 New Revision: 365102 URL: https://svnweb.freebsd.org/changeset/base/365102 Log: if_age: clean up empty lines in .c and .h files Modified: head/sys/dev/age/if_age.c head/sys/dev/age/if_agevar.h Modified: head/sys/dev/age/if_age.c ============================================================================== --- head/sys/dev/age/if_age.c Tue Sep 1 21:34:58 2020 (r365101) +++ head/sys/dev/age/if_age.c Tue Sep 1 21:35:14 2020 (r365102) @@ -156,7 +156,6 @@ static int sysctl_int_range(SYSCTL_HANDLER_ARGS, int, static int sysctl_hw_age_proc_limit(SYSCTL_HANDLER_ARGS); static int sysctl_hw_age_int_mod(SYSCTL_HANDLER_ARGS); - static device_method_t age_methods[] = { /* Device interface. */ DEVMETHOD(device_probe, age_probe), @@ -170,7 +169,6 @@ static device_method_t age_methods[] = { DEVMETHOD(miibus_readreg, age_miibus_readreg), DEVMETHOD(miibus_writereg, age_miibus_writereg), DEVMETHOD(miibus_statchg, age_miibus_statchg), - { NULL, NULL } }; @@ -565,7 +563,6 @@ age_attach(device_t dev) device_printf(dev, "cannot allocate IRQ resources.\n"); goto fail; } - /* Get DMA parameters from PCIe device control register. */ if (pci_find_cap(dev, PCIY_EXPRESS, &i) == 0) { Modified: head/sys/dev/age/if_agevar.h ============================================================================== --- head/sys/dev/age/if_agevar.h Tue Sep 1 21:34:58 2020 (r365101) +++ head/sys/dev/age/if_agevar.h Tue Sep 1 21:35:14 2020 (r365102) @@ -249,7 +249,6 @@ struct age_softc { #define AGE_UNLOCK(_sc) mtx_unlock(&(_sc)->age_mtx) #define AGE_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->age_mtx, MA_OWNED) - #define AGE_COMMIT_MBOX(_sc) \ do { \ CSR_WRITE_4(_sc, AGE_MBOX, \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009012135.081LZEiL032180>