qmi/discovery: remove useless code

This commit is contained in:
Alexander Couzens 2017-08-21 04:32:19 +02:00
parent 571b01059c
commit bfb71b4829
1 changed files with 0 additions and 5 deletions

View File

@ -1162,11 +1162,6 @@ static void discover_callback(uint16_t message, uint16_t length,
service_list = ptr + *((uint8_t *) ptr) + 1;
for (i = 0; i < service_list->count; i++) {
if (service_list->services[i].type == QMI_SERVICE_CONTROL)
continue;
}
done:
device->version_list = list;
device->version_count = count;