| 2615 | } |
| 2616 | |
| 2617 | static void |
| 2618 | knote_drop(struct knote *kn, struct thread *td) |
| 2619 | { |
| 2620 | |
| 2621 | if ((kn->kn_status & KN_DETACHED) == 0) |
| 2622 | kn->kn_fop->f_detach(kn); |
| 2623 | knote_drop_detached(kn, td); |
| 2624 | } |
| 2625 | |
| 2626 | static void |
| 2627 | knote_drop_detached(struct knote *kn, struct thread *td) |
no test coverage detected