diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2019-09-10 22:39:14 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2019-09-10 22:39:14 +0000 |
commit | 0a7191e5c24cc0de593758a7795db6acf26cfd25 (patch) | |
tree | 6cac75f6cbd99d7646334471617846dd54505746 /lib | |
parent | d2363b9f3a5b62d5f3a1413e5438a0693b0d73ec (diff) |
No need to check for ST_MOUNTED before calling st_mount_tape() AND in
st_mount_tape(). Just keep the latter.
st_mount_tape() is called from inside stopen() which has already found
the relevant st_softc(), incremented the device reference count, and
checked if it is dying. No need to repeast that in
st_mount_tape(). Just pass the st_softc.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions