| 629 | }; |
| 630 | |
| 631 | static struct deferred_update *find_deferred_update(struct daemon *daemon, |
| 632 | const struct chan *chan) |
| 633 | { |
| 634 | struct deferred_update *du; |
| 635 | |
| 636 | list_for_each(&daemon->deferred_updates, du, list) { |
| 637 | if (du->chan == chan) |
| 638 | return du; |
| 639 | } |
| 640 | return NULL; |
| 641 | } |
| 642 | |
| 643 | static void destroy_deferred_update(struct deferred_update *du) |
| 644 | { |
no outgoing calls
no test coverage detected