diff --git a/shared-module/displayio/Group.c b/shared-module/displayio/Group.c index e2045a5da712..40f112bf175a 100644 --- a/shared-module/displayio/Group.c +++ b/shared-module/displayio/Group.c @@ -96,7 +96,6 @@ mp_obj_t common_hal_displayio_group_pop(displayio_group_t* self, size_t index) { } mp_int_t common_hal_displayio_group_index(displayio_group_t* self, mp_obj_t layer) { - // Shift everything left. for (size_t i = 0; i < self->size; i++) { if (self->children[i].original == layer) { return i;