baylibre-acme: Drop unneeded comment.

There's indeed no g_fclose() unfortunately. The g_*() wrappers for file
handling are mainly there to deal with portability issues in file names
(encoding, character sets, etc) on different platforms.
This commit is contained in:
Uwe Hermann 2015-02-16 01:53:15 +01:00
parent 3452785431
commit d258022db0
1 changed files with 0 additions and 4 deletions

View File

@ -335,10 +335,6 @@ SR_PRIV int bl_acme_set_shunt(const struct sr_channel_group *cg, uint64_t shunt)
g_string_free(path, TRUE); g_string_free(path, TRUE);
g_fprintf(fd, "%" PRIu64 "\n", MOHM_TO_UOHM(shunt)); g_fprintf(fd, "%" PRIu64 "\n", MOHM_TO_UOHM(shunt));
/*
* XXX There's no g_fclose() in GLib. This seems to work,
* but is it safe?
*/
fclose(fd); fclose(fd);
out: out: