Commit f14f85f2 authored by Tristan Gingold's avatar Tristan Gingold

wrtd-inout-common.c: disable old unused code.

parent 14ed66ea
......@@ -55,6 +55,7 @@ void help_commands(struct wrtd_commands *cmds)
}
}
#if 0
void help_log_level()
{
fprintf(stderr, "Log Levels\n");
......@@ -177,6 +178,7 @@ uint64_t ts_to_picos(struct wr_timestamp ts)
+ (uint64_t) ts.ticks * 8000ULL +
+ (uint64_t) ts.frac * 8000LL / 4096LL;
}
#endif
int parse_delay(char *dly, uint64_t *delay_ps)
{
......@@ -264,6 +266,7 @@ void ts_sub_ps(struct wrtd_tstamp *ts, uint64_t ps)
}
#if 0
int parse_mode (char *mode_str, enum wrtd_trigger_mode *mode)
{
if(!strcmp(mode_str, "auto"))
......@@ -281,7 +284,6 @@ int parse_trigger_id(const char *str, struct wrtd_trig_id *id)
return (sscanf(str,"%x:%x:%x", &id->system, &id->source_port, &id->trigger) == 3 ? 0 : -1);
}
#if 0
int parse_log_level (char *list[], int count, int *log_level)
{
uint32_t l = 0, tmp;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment