summaryrefslogtreecommitdiff
path: root/tools/verification
diff options
context:
space:
mode:
authorGabriele Monaco <gmonaco@redhat.com>2025-11-26 11:42:39 +0100
committerGabriele Monaco <gmonaco@redhat.com>2026-01-12 07:43:51 +0100
commit3fee5b320c15c8f61e44729a9513347de6a93735 (patch)
tree3384e005cb915459abe9d45fdf8ac7c23b9073f2 /tools/verification
parent3d2bfeeef340c8494eba80e7a005159cac69c2f7 (diff)
verification/rvgen: Remove unused variable declaration from containers
The monitor container source files contained a declaration and a definition for the rv_monitor variable. The former is superfluous and can be removed. Remove the variable declaration from the template as well as the existing monitor containers. Reviewed-by: Nam Cao <namcao@linutronix.de> Link: https://lore.kernel.org/r/20251126104241.291258-9-gmonaco@redhat.com Signed-off-by: Gabriele Monaco <gmonaco@redhat.com>
Diffstat (limited to 'tools/verification')
-rw-r--r--tools/verification/rvgen/rvgen/templates/container/main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/verification/rvgen/rvgen/templates/container/main.c b/tools/verification/rvgen/rvgen/templates/container/main.c
index 7d9b2f95c7e9..5fc89b46f279 100644
--- a/tools/verification/rvgen/rvgen/templates/container/main.c
+++ b/tools/verification/rvgen/rvgen/templates/container/main.c
@@ -8,8 +8,6 @@
#include "%%MODEL_NAME%%.h"
-struct rv_monitor rv_%%MODEL_NAME%%;
-
struct rv_monitor rv_%%MODEL_NAME%% = {
.name = "%%MODEL_NAME%%",
.description = "%%DESCRIPTION%%",