| 246 | } |
| 247 | |
| 248 | void |
| 249 | dev_relthread(struct cdev *dev, int ref) |
| 250 | { |
| 251 | |
| 252 | dev_lock_assert_unlocked(); |
| 253 | if (!ref) |
| 254 | return; |
| 255 | KASSERT(dev->si_threadcount > 0, |
| 256 | ("%s threadcount is wrong", dev->si_name)); |
| 257 | atomic_subtract_rel_long(&dev->si_threadcount, 1); |
| 258 | } |
| 259 | |
| 260 | int |
| 261 | nullop(void) |
no outgoing calls
no test coverage detected