commit 0e9adb3d6e164cfce8e8910e5be75f073b776af1 from: Tobias Heider date: Sat Feb 14 21:36:03 2026 UTC Cleanup comments and dead code commit - e6d4f160537b96bd299f8975cfe3e0af22360d10 commit + 0e9adb3d6e164cfce8e8910e5be75f073b776af1 blob - dcc0c096eba1f44b44cb8e8fc415722d40534334 blob + 376906ad10cf52349eeba1fb0e2026b1012eec32 --- siomixer.c +++ siomixer.c @@ -388,8 +388,7 @@ onctl(void *arg, unsigned addr, unsigned val) if (i->desc.type == SIOCTL_SEL) { if (strcmp(i->desc.node0.name, "server") == 0 && strcmp(i->desc.func, "device") == 0) { - printf("controls changed, updating...\n"); - /* XXX Should update the dropdown status here */ + /* XXX: Should update the dropdown status here */ } } else { i->curval = val; @@ -402,7 +401,7 @@ onctl(void *arg, unsigned addr, unsigned val) static gboolean sio_fd_prepare(GSource *source, gint *timeout_) { - *timeout_ = -1; // 100 ms polling interval + *timeout_ = -1; return FALSE; } @@ -417,14 +416,6 @@ sio_fd_check(GSource *source) static gboolean sio_fd_dispatch(GSource *source, GSourceFunc callback, gpointer user_data) { - struct sioctl_source *ss = (struct sioctl_source *)source; - printf("%s: __entry__\n", __func__); - for (int i = 0; i < ss->nfds; i++) { - printf("%d:\n", i); - printf("fd: %d\n", ss->pfds[i].fd); - printf("events: %d\n", ss->pfds[i].events); - printf("revents: %d\n", ss->pfds[i].revents); - } return TRUE; }