Date: Tue, 1 Sep 2020 21:42:22 +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: r365120 - in head/sys/dev/beri/virtio: . network Message-ID: <202009012142.081LgM69039258@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mjg Date: Tue Sep 1 21:42:21 2020 New Revision: 365120 URL: https://svnweb.freebsd.org/changeset/base/365120 Log: beri: clean up empty lines in .c and .h files Modified: head/sys/dev/beri/virtio/network/if_vtbe.c head/sys/dev/beri/virtio/virtio.c head/sys/dev/beri/virtio/virtio_block.c Modified: head/sys/dev/beri/virtio/network/if_vtbe.c ============================================================================== --- head/sys/dev/beri/virtio/network/if_vtbe.c Tue Sep 1 21:42:08 2020 (r365119) +++ head/sys/dev/beri/virtio/network/if_vtbe.c Tue Sep 1 21:42:21 2020 (r365120) @@ -635,7 +635,6 @@ vtbe_attach(device_t dev) static device_method_t vtbe_methods[] = { DEVMETHOD(device_probe, vtbe_probe), DEVMETHOD(device_attach, vtbe_attach), - { 0, 0 } }; Modified: head/sys/dev/beri/virtio/virtio.c ============================================================================== --- head/sys/dev/beri/virtio/virtio.c Tue Sep 1 21:42:08 2020 (r365119) +++ head/sys/dev/beri/virtio/virtio.c Tue Sep 1 21:42:21 2020 (r365120) @@ -109,7 +109,6 @@ paddr_unmap(void *phys, uint32_t size) static inline void _vq_record(uint32_t offs, int i, volatile struct vring_desc *vd, struct iovec *iov, int n_iov, uint16_t *flags) { - if (i >= n_iov) return; Modified: head/sys/dev/beri/virtio/virtio_block.c ============================================================================== --- head/sys/dev/beri/virtio/virtio_block.c Tue Sep 1 21:42:08 2020 (r365119) +++ head/sys/dev/beri/virtio/virtio_block.c Tue Sep 1 21:42:21 2020 (r365120) @@ -347,7 +347,6 @@ vq_init(struct beri_vtblk_softc *sc) return (0); } - static void vtblk_thread(void *arg) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009012142.081LgM69039258>