Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Jan 2026 23:27:49 +0000
From:      Christos Margiolis <christos@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 7b86ef4a4f37 - stable/15 - sound: Remove dead if-statement
Message-ID:  <69618ef5.32b32.744b9c5d@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch stable/15 has been updated by christos:

URL: https://cgit.FreeBSD.org/src/commit/?id=7b86ef4a4f37d7deb3d3b96c2bae507fafeb3dba

commit 7b86ef4a4f37d7deb3d3b96c2bae507fafeb3dba
Author:     Christos Margiolis <christos@FreeBSD.org>
AuthorDate: 2026-01-02 16:56:24 +0000
Commit:     Christos Margiolis <christos@FreeBSD.org>
CommitDate: 2026-01-09 23:27:23 +0000

    sound: Remove dead if-statement
    
    No functional change intended.
    
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
    
    (cherry picked from commit d2baf9301be3093c5f53a7ce1de858a0c690cd07)
---
 sys/dev/sound/midi/midi.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sys/dev/sound/midi/midi.c b/sys/dev/sound/midi/midi.c
index aa039018e207..f54b95daf280 100644
--- a/sys/dev/sound/midi/midi.c
+++ b/sys/dev/sound/midi/midi.c
@@ -432,7 +432,6 @@ midi_read(struct cdev *i_dev, struct uio *uio, int ioflag)
 				goto err0;
 			if (m != i_dev->si_drv1)
 				retval = ENXIO;
-			/* if (retval && retval != ERESTART) */
 			if (retval)
 				goto err0;
 			mtx_lock(&m->lock);


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69618ef5.32b32.744b9c5d>