diff --git a/core/uemis-downloader.c b/core/uemis-downloader.c index 35dc817b0..f66713565 100644 --- a/core/uemis-downloader.c +++ b/core/uemis-downloader.c @@ -847,8 +847,6 @@ static bool uemis_delete_dive(device_data_t *devdata, uint32_t diveid) } if (dive) { devdata->download_table->dives[--devdata->download_table->nr] = NULL; - if (dive->notrip) - remove_dive_from_trip(dive, &trip_table); free(dive->dc.sample); free((void *)dive->notes);