From nobody Fri Jan 2 16:58:29 2026 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4djVJQ1pDvz6LvjM for ; Fri, 02 Jan 2026 16:58:30 +0000 (UTC) (envelope-from git@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 "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4djVJP5fPXz42mN for ; Fri, 02 Jan 2026 16:58:29 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1767373109; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=vUcdOGVxlXKzUu4uQh/f3UUVMqulVObJV1dpQ+V3pG8=; b=RTzVutFNgk2ZvUjUI96ZFUcdXI9VSB3xSDrtJe+mDeIcVBq5MnsU1VKtm6lo+9RisE3KxK k7S40K2IqrZQSFmzjydeCGuXuBvHLoyKwCe+glQwJhRuL2kT6TkuSlj0KuMHipdZfyvNXn 5y7JrBHaqCinL/Ij/AS48159qpfj9YmVLnRCtklclNZ7ZroN0mPc+3KPG9EjSDFUtHlomQ 635I9VIMZd2rLFOAfY/8rw/u1la3KRx/zpGMPCFbVwNNE4jLgO0SNigUlBPRFvYaaiwkpv ovrcvzGT1LESu1S3LwQnjXVwSe6AJT+QqC/D89zY/Labxp8ix0p0huNSqtWogQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1767373109; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=vUcdOGVxlXKzUu4uQh/f3UUVMqulVObJV1dpQ+V3pG8=; b=g5YZZGNlPPx49AjYILB/V1rj+PSnJbq5ihfJl5MhO8vqFVSwynNfHqI8bQEhqNCtCqGDOL 9+eIj17eSPPbcsDRkrxfZi+TXRo/WoTOSKjr4Uzw6sPUmLoQ+JwdRDB8v7aMhtRTl75shp MXZLUYbzz0cTbcp7M45h9w+Ka8FKuFRiArIENvSANbswPiYEzU9C4MxxXHRF9vJ5tMXTtS 3XXo4KIVYZVZzpQVGv1AcFXVJ+bK5dQ4f2yY3+bepM6RxRJw/aZUGFPebUb9/LE2WPDSYU qMth9nkamNuu7d7Bt87u8nYzfKiVwsmcWhqxQ3TjtpxmCxMGAEr/geGie1tJKg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1767373109; a=rsa-sha256; cv=none; b=jND32lEshOvN1f0iARM6fbXJ4s3tdu9WbvS+zAeZI4W6iCrTx0Vdm2CCFf+TJYTKTfKDCj z6WvDBj5108vorHmAxIfq8bKfVlWzagcbqo2U45eQoRv/XpGGAO2jdlAVeEZsU7mrbauQk Myvmyjy5qBg06ODbH20kYJCPTw+PCP5KkLq93BAt4KetuLTi9aZcBN3WYdzG/IECuRD/FB Jyzr89Feuo5EHfQ9pwqkIszQXx8rl/9l50Q+uCkkPuqA0JqwhjtcumBErk4fVBSsK2Twkk 8FSDJxDo5Woc0XoNBs0dHiOBjUKeWhmvb1zOrPGLdPzBxeUnAeUb1xgNsa/NhA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4djVJP4wy0zBH3 for ; Fri, 02 Jan 2026 16:58:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id fc7d by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 02 Jan 2026 16:58:29 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Christos Margiolis Subject: git: 3b9e776498a7 - main - sound: Retire MIDIQ_DEBUG List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: christos X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3b9e776498a7e3e96c1a351fdd561f25803718df Auto-Submitted: auto-generated Date: Fri, 02 Jan 2026 16:58:29 +0000 Message-Id: <6957f935.fc7d.23f0ecef@gitrepo.freebsd.org> The branch main has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=3b9e776498a7e3e96c1a351fdd561f25803718df commit 3b9e776498a7e3e96c1a351fdd561f25803718df Author: Christos Margiolis AuthorDate: 2026-01-02 16:56:31 +0000 Commit: Christos Margiolis CommitDate: 2026-01-02 16:58:06 +0000 sound: Retire MIDIQ_DEBUG Sponsored by: The FreeBSD Foundation MFC after: 1 week --- sys/dev/sound/midi/midiq.h | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/sys/dev/sound/midi/midiq.h b/sys/dev/sound/midi/midiq.h index 17def1805363..27958ff4c23e 100644 --- a/sys/dev/sound/midi/midiq.h +++ b/sys/dev/sound/midi/midiq.h @@ -52,38 +52,23 @@ struct name { \ #define MIDIQ_FULL(head) ((head).h == -1) #define MIDIQ_AVAIL(head) (MIDIQ_FULL(head) ? 0 : (head).s - MIDIQ_LENBASE(head)) #define MIDIQ_LEN(head) ((head).s - MIDIQ_AVAIL(head)) -#define MIDIQ_DEBUG 0 /* * No protection against overflow, underflow */ #define MIDIQ_ENQ(head, buf, size) do { \ - if(MIDIQ_DEBUG)\ - printf("#1 %p %p bytes copied %jd tran req s %d h %d t %d\n", \ - &(head).b[(head).h], (buf), \ - (intmax_t)(sizeof(*(head).b) * \ - MIN( (size), (head).s - (head).h) ), \ - (size), (head).h, (head).t); \ MIDIQ_MOVE(&(head).b[(head).h], (buf), sizeof(*(head).b) * MIN((size), (head).s - (head).h)); \ if( (head).s - (head).h < (size) ) { \ - if(MIDIQ_DEBUG) \ - printf("#2 %p %p bytes copied %jd\n", (head).b, (buf) + (head).s - (head).h, (intmax_t)sizeof(*(head).b) * ((size) - (head).s + (head).h) ); \ MIDIQ_MOVE((head).b, (buf) + (head).s - (head).h, sizeof(*(head).b) * ((size) - (head).s + (head).h) ); \ } \ (head).h+=(size); \ (head).h%=(head).s; \ if(MIDIQ_EMPTY(head)) (head).h=-1; \ - if(MIDIQ_DEBUG)\ - printf("#E h %d t %d\n", (head).h, (head).t); \ } while (0) #define MIDIQ_DEQ_I(head, buf, size, move, update) do { \ if(MIDIQ_FULL(head)) (head).h=(head).t; \ - if(MIDIQ_DEBUG)\ - printf("#1 %p %p bytes copied %jd tran req s %d h %d t %d\n", &(head).b[(head).t], (buf), (intmax_t)sizeof(*(head).b) * MIN((size), (head).s - (head).t), (size), (head).h, (head).t); \ if (move) MIDIQ_MOVE((buf), &(head).b[(head).t], sizeof(*(head).b) * MIN((size), (head).s - (head).t)); \ if( (head).s - (head).t < (size) ) { \ - if(MIDIQ_DEBUG) \ - printf("#2 %p %p bytes copied %jd\n", (head).b, (buf) + (head).s - (head).t, (intmax_t)sizeof(*(head).b) * ((size) - (head).s + (head).t) ); \ if (move) MIDIQ_MOVE((buf) + (head).s - (head).t, (head).b, sizeof(*(head).b) * ((size) - (head).s + (head).t) ); \ } \ if (update) { \ @@ -92,8 +77,6 @@ struct name { \ } else { \ if (MIDIQ_EMPTY(head)) (head).h=-1; \ } \ - if(MIDIQ_DEBUG)\ - printf("#E h %d t %d\n", (head).h, (head).t); \ } while (0) #define MIDIQ_SIZE(head) ((head).s)