Cleanup: remove unused parameter was_autogen

In commit 6bf4120dbb the trip-flags
were replaced by a simple boolean. This made the was_autogen
parameter to the remove_dive_from_trip() and unregister_dive_from_trip()
functions unused. Remove these parameters.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2018-12-23 10:08:44 +01:00 committed by Dirk Hohndel
parent 95736506fe
commit 99d29a7838
4 changed files with 13 additions and 12 deletions

View file

@ -859,7 +859,7 @@ 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, false);
remove_dive_from_trip(dive);
free(dive->dc.sample);
free((void *)dive->notes);