Remove audio(9) get_props() from record-only drivers
authorkn <kn@openbsd.org>
Fri, 28 Oct 2022 15:02:20 +0000 (15:02 +0000)
committerkn <kn@openbsd.org>
Fri, 28 Oct 2022 15:02:20 +0000 (15:02 +0000)
commit1ed425b445d931aa4607a70227b92ddf8683ea15
treef0a6d8ac8f7884a0c6a108debea55696df98e7e2
parentf9485f68395b00332d56d8587cf423a224aeda8c
Remove audio(9) get_props() from record-only drivers

utvfu(4) seems to be the only driver that currently supports recording but
not playing and its open() already returns ENXIO when playing is requested,
so no need to add another duplex check after get_props() is gone.

OK ratchov miod
sys/dev/usb/utvfu.c