In slot_xxx(), store dev pointer in local variable
authorratchov <ratchov@openbsd.org>
Thu, 28 Jan 2021 11:10:00 +0000 (11:10 +0000)
committerratchov <ratchov@openbsd.org>
Thu, 28 Jan 2021 11:10:00 +0000 (11:10 +0000)
commit758b5165ac53b1f1b45995941f1d5f6fa08bf644
tree1ee97d5ea8f45710f6949dcbdb7c843a0c426413
parent540a9b644530a7facb9f69c2d6e730ae4b776abe
In slot_xxx(), store dev pointer in local variable

This removes many redundant dereferences to obtain the dev pointer
from the slot stucture and makes the source slightly more readable.
No behavior change.
usr.bin/sndiod/dev.c