git: d2baf9301be3 - main - sound: Remove dead if-statement
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 02 Jan 2026 16:58:26 UTC
The branch main has been updated by christos:
URL: https://cgit.FreeBSD.org/src/commit/?id=d2baf9301be3093c5f53a7ce1de858a0c690cd07
commit d2baf9301be3093c5f53a7ce1de858a0c690cd07
Author: Christos Margiolis <christos@FreeBSD.org>
AuthorDate: 2026-01-02 16:56:24 +0000
Commit: Christos Margiolis <christos@FreeBSD.org>
CommitDate: 2026-01-02 16:58:05 +0000
sound: Remove dead if-statement
No functional change intended.
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
---
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);