From owner-svn-src-head@freebsd.org Tue Sep 1 21:31:28 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 82A0437A21E; Tue, 1 Sep 2020 21:31:28 +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 4Bh0cw2x9Fz4LqT; Tue, 1 Sep 2020 21:31:28 +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 2EB791FFD2; Tue, 1 Sep 2020 21:31:28 +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 081LVSOs029783; Tue, 1 Sep 2020 21:31:28 GMT (envelope-from mjg@FreeBSD.org) Received: (from mjg@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 081LVQPC029777; Tue, 1 Sep 2020 21:31:26 GMT (envelope-from mjg@FreeBSD.org) Message-Id: <202009012131.081LVQPC029777@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:31:26 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r365091 - in head/sys/dev/virtio: . balloon block console network scsi X-SVN-Group: head X-SVN-Commit-Author: mjg X-SVN-Commit-Paths: in head/sys/dev/virtio: . balloon block console network scsi X-SVN-Commit-Revision: 365091 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 21:31:28 -0000 Author: mjg Date: Tue Sep 1 21:31:26 2020 New Revision: 365091 URL: https://svnweb.freebsd.org/changeset/base/365091 Log: virtio: clean up empty lines in .c and .h files Modified: head/sys/dev/virtio/balloon/virtio_balloon.c head/sys/dev/virtio/block/virtio_blk.c head/sys/dev/virtio/console/virtio_console.c head/sys/dev/virtio/network/if_vtnet.c head/sys/dev/virtio/scsi/virtio_scsi.c head/sys/dev/virtio/virtio.c Modified: head/sys/dev/virtio/balloon/virtio_balloon.c ============================================================================== --- head/sys/dev/virtio/balloon/virtio_balloon.c Tue Sep 1 21:30:22 2020 (r365090) +++ head/sys/dev/virtio/balloon/virtio_balloon.c Tue Sep 1 21:31:26 2020 (r365091) @@ -80,7 +80,6 @@ struct vtballoon_softc { static struct virtio_feature_desc vtballoon_feature_desc[] = { { VIRTIO_BALLOON_F_MUST_TELL_HOST, "MustTellHost" }, { VIRTIO_BALLOON_F_STATS_VQ, "StatsVq" }, - { 0, NULL } }; Modified: head/sys/dev/virtio/block/virtio_blk.c ============================================================================== --- head/sys/dev/virtio/block/virtio_blk.c Tue Sep 1 21:30:22 2020 (r365090) +++ head/sys/dev/virtio/block/virtio_blk.c Tue Sep 1 21:31:26 2020 (r365091) @@ -114,7 +114,6 @@ static struct virtio_feature_desc vtblk_feature_desc[] { VIRTIO_BLK_F_TOPOLOGY, "Topology" }, { VIRTIO_BLK_F_CONFIG_WCE, "ConfigWCE" }, { VIRTIO_BLK_F_DISCARD, "Discard" }, - { 0, NULL } }; Modified: head/sys/dev/virtio/console/virtio_console.c ============================================================================== --- head/sys/dev/virtio/console/virtio_console.c Tue Sep 1 21:30:22 2020 (r365090) +++ head/sys/dev/virtio/console/virtio_console.c Tue Sep 1 21:31:26 2020 (r365091) @@ -146,7 +146,6 @@ static struct virtio_feature_desc vtcon_feature_desc[] { VIRTIO_CONSOLE_F_SIZE, "ConsoleSize" }, { VIRTIO_CONSOLE_F_MULTIPORT, "MultiplePorts" }, { VIRTIO_CONSOLE_F_EMERG_WRITE, "EmergencyWrite" }, - { 0, NULL } }; @@ -511,7 +510,6 @@ vtcon_alloc_virtqueues(struct vtcon_softc *sc) return (ENOMEM); for (i = 0, idx = 0, portidx = 0; i < nvqs / 2; i++, idx += 2) { - if (i == 1) { /* The control virtqueues are after the first port. */ VQ_ALLOC_INFO_INIT(&info[idx], 0, Modified: head/sys/dev/virtio/network/if_vtnet.c ============================================================================== --- head/sys/dev/virtio/network/if_vtnet.c Tue Sep 1 21:30:22 2020 (r365090) +++ head/sys/dev/virtio/network/if_vtnet.c Tue Sep 1 21:31:26 2020 (r365091) @@ -287,7 +287,6 @@ static struct virtio_feature_desc vtnet_feature_desc[] { VIRTIO_NET_F_GUEST_ANNOUNCE, "GuestAnnounce" }, { VIRTIO_NET_F_MQ, "Multiqueue" }, { VIRTIO_NET_F_CTRL_MAC_ADDR, "SetMacAddress" }, - { 0, NULL } }; Modified: head/sys/dev/virtio/scsi/virtio_scsi.c ============================================================================== --- head/sys/dev/virtio/scsi/virtio_scsi.c Tue Sep 1 21:30:22 2020 (r365090) +++ head/sys/dev/virtio/scsi/virtio_scsi.c Tue Sep 1 21:31:26 2020 (r365091) @@ -206,7 +206,6 @@ TUNABLE_INT("hw.vtscsi.bus_reset_disable", &vtscsi_bus static struct virtio_feature_desc vtscsi_feature_desc[] = { { VIRTIO_SCSI_F_INOUT, "InOut" }, { VIRTIO_SCSI_F_HOTPLUG, "Hotplug" }, - { 0, NULL } }; Modified: head/sys/dev/virtio/virtio.c ============================================================================== --- head/sys/dev/virtio/virtio.c Tue Sep 1 21:30:22 2020 (r365090) +++ head/sys/dev/virtio/virtio.c Tue Sep 1 21:31:26 2020 (r365091) @@ -69,7 +69,6 @@ static struct virtio_ident { { VIRTIO_ID_INPUT, "Input" }, { VIRTIO_ID_VSOCK, "VSOCK Transport" }, { VIRTIO_ID_CRYPTO, "Crypto" }, - { 0, NULL } }; @@ -80,7 +79,6 @@ static struct virtio_feature_desc virtio_common_featur { VIRTIO_RING_F_EVENT_IDX, "EventIdx" }, { VIRTIO_F_BAD_FEATURE, "BadFeature" }, { VIRTIO_F_VERSION_1, "Version1" }, - { 0, NULL } };