Remove 'when_from_file' field from dive trip

It had become a write-only field (apart from some now useless debugging)
when simplifying the remove_autogen_trips() function.

So remove it.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Linus Torvalds 2012-11-25 19:09:04 -08:00 committed by Dirk Hohndel
parent 544a8b9d77
commit 85f0749c85
3 changed files with 2 additions and 16 deletions

1
dive.h
View file

@ -275,7 +275,6 @@ extern const char *tripflag_names[NUM_TRIPFLAGS];
typedef struct dive_trip {
tripflag_t tripflag;
timestamp_t when;
timestamp_t when_from_file;
char *location;
char *notes;
struct dive *dives;