diff options
author | glerch <guido.lerch@gmail.com> | 2015-09-10 16:14:47 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-09-10 12:30:29 -0700 |
commit | e7fa81f9ea72068824547279ed838f17a28d2524 (patch) | |
tree | 3d292549e134b38ccf4372860908e1bfd6688677 /uemis-downloader.c | |
parent | b4f9d2786d7e808114979e6a2017738d5380068c (diff) | |
download | subsurface-e7fa81f9ea72068824547279ed838f17a28d2524.tar.gz |
Uemis downloader: deleting code because of design change
Deleting unnecessary code to support future design
change coming with the next patch
Signed-off-by: glerch <guido.lerch@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'uemis-downloader.c')
-rw-r--r-- | uemis-downloader.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/uemis-downloader.c b/uemis-downloader.c index f2f4ba4c2..9abdccaae 100644 --- a/uemis-downloader.c +++ b/uemis-downloader.c @@ -1295,33 +1295,6 @@ const char *do_uemis_import(device_data_t *data) else next_table_index++; } - - switch (uemis_mem_status) { - case UEMIS_MEM_CRITICAL: - case UEMIS_MEM_OK: - for (i = 0; i <= nr_divespots; i++) { - char divespotnr[10]; - snprintf(divespotnr, sizeof(divespotnr), "%d", i); - param_buff[2] = divespotnr; -#if UEMIS_DEBUG & 2 - fprintf(debugfile, "getDivespot %d of %d, started at %d\n", i, nr_divespots, 0); -#endif - success = uemis_get_answer(mountpath, "getDivespot", 3, 0, &result); - if (mbuf && success) { -#if UEMIS_DEBUG & 2 - do_dump_buffer_to_file(mbuf, strdup("Spot"), round); -#endif - parse_divespot(mbuf); - } - } - if (uemis_mem_status == UEMIS_MEM_CRITICAL) - result = translate("gettextFromC", ERR_FS_ALMOST_FULL); - break; - case UEMIS_MEM_FULL: - result = translate("gettextFromC", ERR_FS_FULL); - break; - } - bail: (void)uemis_get_answer(mountpath, "terminateSync", 0, 3, &result); if (!strcmp(param_buff[0], "error")) { |