From 1822983b34d5c08d4a3e6f7605c7db99c4729570 Mon Sep 17 00:00:00 2001 From: Vadim Vetrov Date: Mon, 9 Dec 2024 01:45:14 +0300 Subject: [PATCH] Delete debug logs --- args.c | 3 --- kargs.c | 4 ---- 2 files changed, 7 deletions(-) diff --git a/args.c b/args.c index bdf262a..a71fa0f 100644 --- a/args.c +++ b/args.c @@ -61,7 +61,6 @@ static int parse_sni_domains(struct domains_list **dlist, const char *domains_st static void free_sni_domains(struct domains_list *dlist) { for (struct domains_list *ldl = dlist; ldl != NULL;) { struct domains_list *ndl = ldl->next; - printf("freeing domains\n"); SFREE(ldl->domain_name); SFREE(ldl); ldl = ndl; @@ -1151,7 +1150,6 @@ int init_config(struct config_t *config) { } void free_config_section(struct section_config_t *section) { - lginfo("freeing %d\n", section->id); if (section->udp_dport_range_len != 0) { SFREE(section->udp_dport_range); } @@ -1168,7 +1166,6 @@ void free_config_section(struct section_config_t *section) { } void free_config(struct config_t config) { - lginfo("freeing config\n"); for (struct section_config_t *sct = config.last_section; sct != NULL;) { struct section_config_t *psct = sct->prev; free_config_section(sct); diff --git a/kargs.c b/kargs.c index 72cc300..4b55553 100644 --- a/kargs.c +++ b/kargs.c @@ -39,10 +39,6 @@ static int params_set(const char *cval, const struct kernel_param *kp) { } } - for (int i = 0; i < argc; i++) { - lginfo("%s %lu\n", argv[i], strlen(argv[i])); - } - ret = yparse_args(argc, argv); kfree(val); return ret;