color-lcms: do not repeat call to check if log scope is enabled

Function matrix_print() is called only by pipeline_print(), which
already checks if the log scope is enabled. So remove the repeated
check from matrix_print().

Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com>
This commit is contained in:
Leandro Ribeiro 2023-05-23 10:17:50 -03:00 committed by Pekka Paalanen
parent ab015ef307
commit 854631cbf5
1 changed files with 0 additions and 3 deletions

View File

@ -651,9 +651,6 @@ matrix_print(cmsStage *stage, struct weston_log_scope *scope)
double elem;
const char *sep;
if (!weston_log_scope_is_enabled(scope))
return;
assert(cmsStageType(stage) == cmsSigMatrixElemType);
data = cmsStageData(stage);