Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: sht15_remote_monitoring RobotArmDemo iothub_client_sample_amqp iothub_client_sample_amqp ... more
Diff: iothubtransport_amqp_telemetry_messenger.c
- Revision:
- 50:f3a92c6c6534
- Parent:
- 46:c688c75b63b9
- Child:
- 51:269e65571b39
--- a/iothubtransport_amqp_telemetry_messenger.c Thu Feb 15 11:33:47 2018 -0800
+++ b/iothubtransport_amqp_telemetry_messenger.c Mon Mar 05 17:39:14 2018 -0800
@@ -882,26 +882,6 @@
}
-static int singlylinkedlist_clear(SINGLYLINKEDLIST_HANDLE list)
-{
- int result;
- LIST_ITEM_HANDLE list_item;
-
- result = RESULT_OK;
-
- while ((list_item = singlylinkedlist_get_head_item(list)) != NULL)
- {
- if (singlylinkedlist_remove(list, list_item) != RESULT_OK)
- {
- LogError("Failed removing items from list (%d)", list);
- result = __FAILURE__;
- break;
- }
- }
-
- return result;
-}
-
static int move_events_to_wait_to_send_list(TELEMETRY_MESSENGER_INSTANCE* instance)
{
int result;
