Date: Tue, 1 Sep 2020 21:50:47 +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: r365145 - head/sys/dev/ti Message-ID: <202009012150.081Lolvj040960@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mjg Date: Tue Sep 1 21:50:47 2020 New Revision: 365145 URL: https://svnweb.freebsd.org/changeset/base/365145 Log: ti: clean up empty lines in .c and .h files Modified: head/sys/dev/ti/if_ti.c Modified: head/sys/dev/ti/if_ti.c ============================================================================== --- head/sys/dev/ti/if_ti.c Tue Sep 1 21:50:31 2020 (r365144) +++ head/sys/dev/ti/if_ti.c Tue Sep 1 21:50:47 2020 (r365145) @@ -166,7 +166,6 @@ static const struct ti_type ti_devs[] = { { 0, 0, NULL } }; - static d_open_t ti_open; static d_close_t ti_close; static d_ioctl_t ti_ioctl2; @@ -446,7 +445,6 @@ ti_mem_read(struct ti_softc *sc, uint32_t addr, uint32 } } - /* * NIC memory write function. * Can be used to copy data into NIC local memory. @@ -587,7 +585,6 @@ ti_copy_mem(struct ti_softc *sc, uint32_t tigon_addr, TI_LOCK(sc); } else { if (first_pass) { - ti_bcopy_swap(sc->ti_membuf, sc->ti_membuf2, segsize, TI_SWAP_NTOH); @@ -2665,7 +2662,6 @@ ti_hdr_split(struct mbuf *top, int hdr_len, int pkt_le if (m) { m_freem(m); mp->m_next = NULL; - } if (mp->m_next != NULL) panic("ti_hdr_split: last mbuf in chain should be null");
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009012150.081Lolvj040960>