Remove constant conditionals (dead-code).
[asterisk/asterisk.git] / main / stasis_cache.c
index bd6d6fa..ce4e023 100644 (file)
@@ -29,8 +29,6 @@
 
 #include "asterisk.h"
 
-ASTERISK_REGISTER_FILE()
-
 #include "asterisk/astobj2.h"
 #include "asterisk/hashtab.h"
 #include "asterisk/stasis_internal.h"
@@ -842,7 +840,7 @@ static void caching_topic_exec(void *data, struct stasis_subscription *sub,
                        }
                        ao2_cleanup(update);
                } else {
-                       ast_log(LOG_ERROR,
+                       ast_debug(1,
                                "Attempting to remove an item from the %s cache that isn't there: %s %s\n",
                                stasis_topic_name(caching_topic->topic),
                                stasis_message_type_name(msg_type), msg_id);