From 2842a645fdb66ce1f90cad1fd206912eef365059 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Fri, 6 May 2016 13:59:13 +0200 Subject: [PATCH] cleanup: drop tracing When activation is disabled, avoid tracing it in cache target. --- lib/cache_segtype/cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cache_segtype/cache.c b/lib/cache_segtype/cache.c index 0cbb993ca..9d56f3224 100644 --- a/lib/cache_segtype/cache.c +++ b/lib/cache_segtype/cache.c @@ -230,7 +230,7 @@ static int _target_present(struct cmd_context *cmd, const char *str; if (!activation()) - return_0; + return 0; if (!_cache_checked) { _cache_checked = 1;