git: 7b86ef4a4f37 - stable/15 - sound: Remove dead if-statement
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 09 Jan 2026 23:27:49 UTC
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);