Remove old comment

This commit is contained in:
Scott Shawcroft 2019-05-15 14:17:09 -07:00 committed by GitHub
parent 5608e273a0
commit 00c39805f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) { 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++) { for (size_t i = 0; i < self->size; i++) {
if (self->children[i].original == layer) { if (self->children[i].original == layer) {
return i; return i;