From 28c8edae95b13ad909094fdc6ebc44ab4e10018a Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Thu, 12 Mar 2020 11:09:48 -0400 Subject: [PATCH] sink.text.details: remove LOG_WRONG_PARAM_TYPE It is unused since we have added the more sophisticated parameter validation utility. Change-Id: I7ed57026903fd891f2118b6c6bd03841e07f5954 Signed-off-by: Simon Marchi Reviewed-on: https://review.lttng.org/c/babeltrace/+/3221 Tested-by: jenkins Reviewed-by: Philippe Proulx --- src/plugins/text/details/details.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/plugins/text/details/details.c b/src/plugins/text/details/details.c index 4f304f73..93d88ab0 100644 --- a/src/plugins/text/details/details.c +++ b/src/plugins/text/details/details.c @@ -35,15 +35,6 @@ #include "write.h" #include "plugins/common/param-validation/param-validation.h" -#define LOG_WRONG_PARAM_TYPE(_name, _value, _exp_type) \ - do { \ - BT_COMP_LOGE("Wrong `%s` parameter type: type=%s, " \ - "expected-type=%s", \ - (_name), bt_common_value_type_string( \ - bt_value_get_type(_value)), \ - bt_common_value_type_string(_exp_type)); \ - } while (0) - #define IN_PORT_NAME "in" #define COLOR_PARAM_NAME "color" #define WITH_METADATA_PARAM_NAME "with-metadata" -- 2.34.1