diff options
author | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-04-02 17:17:39 +0200 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-04-02 17:17:39 +0200 |
commit | 9fed4c5bdb4928c7f5c73e85888de54672cd4c56 (patch) | |
tree | ae605f8c39bd4092233175de34b6d0b2f16481f4 /src | |
parent | 4459045d1beb1478943d96c314e72c5ede18154a (diff) | |
download | ouroboros-9fed4c5bdb4928c7f5c73e85888de54672cd4c56.tar.gz ouroboros-9fed4c5bdb4928c7f5c73e85888de54672cd4c56.zip |
lib: Remove check for equal names
Removes name_is_equal. Just using instance_name_cmp is encouraged. It
also removes a wrong initialization in the irm tool.
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/instance_name.c | 2 | ||||
-rw-r--r-- | src/tools/irm/irm_bootstrap_ipcp.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/lib/instance_name.c b/src/lib/instance_name.c index 2c70b419..e560c0b9 100644 --- a/src/lib/instance_name.c +++ b/src/lib/instance_name.c @@ -31,8 +31,6 @@ #include <malloc.h> #include <stdlib.h> -#define instance_name_is_equal(a, b) (instance_name_cmp(a, b) == 0) - instance_name_t * instance_name_create() { instance_name_t * tmp; diff --git a/src/tools/irm/irm_bootstrap_ipcp.c b/src/tools/irm/irm_bootstrap_ipcp.c index c7b82c4a..03a913fb 100644 --- a/src/tools/irm/irm_bootstrap_ipcp.c +++ b/src/tools/irm/irm_bootstrap_ipcp.c @@ -42,8 +42,6 @@ int do_bootstrap_ipcp(int argc, char ** argv) instance_name_t api = {NULL, 0}; struct dif_config conf; - conf.qosspecs = NULL; - while (argc > 0) { if (matches(*argv, "ap") == 0) { api.name = *(argv + 1); |