| 235 | }; |
| 236 | |
| 237 | static void prom_groups_add(struct list_head *groups, group_stats *grp) |
| 238 | { |
| 239 | struct prom_grp *pgrp = pkg_malloc(sizeof *pgrp); |
| 240 | if (!pgrp) |
| 241 | return; |
| 242 | pgrp->grp = grp; |
| 243 | list_add(&pgrp->list, groups); |
| 244 | } |
| 245 | |
| 246 | static int prom_groups_exists(struct list_head *groups, group_stats *grp) |
| 247 | { |
no test coverage detected