summaryrefslogtreecommitdiffstats
path: root/core/libdivecomputer.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/libdivecomputer.c')
-rw-r--r--core/libdivecomputer.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/core/libdivecomputer.c b/core/libdivecomputer.c
index 25abc4d23..4a50acf90 100644
--- a/core/libdivecomputer.c
+++ b/core/libdivecomputer.c
@@ -1034,10 +1034,6 @@ const char *do_libdivecomputer_import(device_data_t *data)
} else if (!strcmp(data->devname, "ftdi")) {
rc = dc_context_set_custom_serial(data->context, &serial_ftdi_ops);
#endif
-#ifdef SERIAL_CP2130
- } else if (!strcmp(data->devname, "cp2130")) {
- rc = dc_context_set_custom_serial(data->context, &cp2130_serial_ops);
-#endif
}
if (rc != DC_STATUS_SUCCESS) {