Removes unnecessary outbox_cleanup

The states that were cleaned by this function, CONFIRMED, are no longer reachable.
Itens were marked with this status previously in PUBCOMP and PUBREL
receive handlers.
This commit is contained in:
Euripedes Rocha
2021-07-01 12:05:14 +01:00
parent e24852a4dc
commit ebef896b00
3 changed files with 0 additions and 16 deletions

View File

@@ -1456,7 +1456,6 @@ static void esp_mqtt_task(void *pv)
client->state = MQTT_STATE_INIT;
}
outbox_cleanup(client->outbox, OUTBOX_MAX_SIZE);
break;
case MQTT_STATE_WAIT_RECONNECT: