summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/equipment.c5
-rw-r--r--core/equipment.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/core/equipment.c b/core/equipment.c
index 5bf13713c..9dbe6bcd2 100644
--- a/core/equipment.c
+++ b/core/equipment.c
@@ -182,11 +182,6 @@ int find_best_gasmix_match(struct gasmix mix, const cylinder_t array[])
return best;
}
-bool weightsystem_none(const weightsystem_t *ws)
-{
- return !ws->weight.grams && !ws->description;
-}
-
/*
* We hardcode the most common standard cylinders,
* we should pick up any other names from the dive
diff --git a/core/equipment.h b/core/equipment.h
index cc8b8dcea..4b5113740 100644
--- a/core/equipment.h
+++ b/core/equipment.h
@@ -63,7 +63,6 @@ extern void add_weightsystem_description(const weightsystem_t *);
extern bool same_weightsystem(weightsystem_t w1, weightsystem_t w2);
extern bool cylinder_nodata(const cylinder_t *cyl);
extern bool cylinder_none(const cylinder_t *cyl);
-extern bool weightsystem_none(const weightsystem_t *ws);
extern void remove_cylinder(struct dive *dive, int idx);
extern void remove_weightsystem(struct dive *dive, int idx);
extern void reset_cylinders(struct dive *dive, bool track_gas);