From owner-svn-src-all@freebsd.org Tue Sep 1 21:42:22 2020 Return-Path: Delivered-To: svn-src-all@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 F14AF37B608; Tue, 1 Sep 2020 21:42: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 4Bh0sV6Cr0z4R1L; Tue, 1 Sep 2020 21:42: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 BA2131FB7E; Tue, 1 Sep 2020 21:42: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 081LgM3Q039261; Tue, 1 Sep 2020 21:42:22 GMT (envelope-from mjg@FreeBSD.org) Received: (from mjg@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 081LgM69039258; Tue, 1 Sep 2020 21:42:22 GMT (envelope-from mjg@FreeBSD.org) Message-Id: <202009012142.081LgM69039258@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 21:42:22 +0000 (UTC) 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 X-SVN-Group: head X-SVN-Commit-Author: mjg X-SVN-Commit-Paths: in head/sys/dev/beri/virtio: . network X-SVN-Commit-Revision: 365120 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2020 21:42:23 -0000 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) {