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:
parent
ab015ef307
commit
854631cbf5
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue