Reduce debug in register.c -- not needed

pull/913/head
Mike Black W9MDB 2022-01-01 17:05:51 -06:00
rodzic 01b7f81119
commit 18548ef298
1 zmienionych plików z 5 dodań i 2 usunięć

Wyświetl plik

@ -192,17 +192,19 @@ int HAMLIB_API rig_register(const struct rig_caps *caps)
int hval; int hval;
struct rig_list *p; struct rig_list *p;
rig_debug(RIG_DEBUG_VERBOSE, "%s called\n", __func__); //rig_debug(RIG_DEBUG_VERBOSE, "%s called\n", __func__);
if (!caps) if (!caps)
{ {
return -RIG_EINVAL; return -RIG_EINVAL;
} }
#if 0
rig_debug(RIG_DEBUG_VERBOSE, rig_debug(RIG_DEBUG_VERBOSE,
"%s: rig_register (%u)\n", "%s: rig_register (%u)\n",
__func__, __func__,
caps->rig_model); caps->rig_model);
#endif
p = (struct rig_list *)malloc(sizeof(struct rig_list)); p = (struct rig_list *)malloc(sizeof(struct rig_list));
@ -224,7 +226,8 @@ int HAMLIB_API rig_register(const struct rig_caps *caps)
p->next = rig_hash_table[hval]; p->next = rig_hash_table[hval];
rig_hash_table[hval] = p; rig_hash_table[hval] = p;
RETURNFUNC(RIG_OK); //RETURNFUNC(RIG_OK);
return RIG_OK;
} }
//! @endcond //! @endcond