| 3434 | } |
| 3435 | |
| 3436 | static void |
| 3437 | remove_invalid_ports_in(portid_t *array, portid_t *total) |
| 3438 | { |
| 3439 | portid_t i; |
| 3440 | portid_t new_total = 0; |
| 3441 | |
| 3442 | for (i = 0; i < *total; i++) |
| 3443 | if (!port_id_is_invalid(array[i], DISABLED_WARN)) { |
| 3444 | array[new_total] = array[i]; |
| 3445 | new_total++; |
| 3446 | } |
| 3447 | *total = new_total; |
| 3448 | } |
| 3449 | |
| 3450 | static void |
| 3451 | remove_invalid_ports(void) |
no test coverage detected