Commit 3fee5b32 authored by Gabriele Monaco's avatar Gabriele Monaco
Browse files

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: default avatarNam Cao <namcao@linutronix.de>
Link: https://lore.kernel.org/r/20251126104241.291258-9-gmonaco@redhat.com


Signed-off-by: default avatarGabriele Monaco <gmonaco@redhat.com>
parent 3d2bfeee
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -8,8 +8,6 @@

#include "rtapp.h"

struct rv_monitor rv_rtapp;

struct rv_monitor rv_rtapp = {
	.name = "rtapp",
	.description = "Collection of monitors for detecting problems with real-time applications",
+0 −2
Original line number Diff line number Diff line
@@ -8,8 +8,6 @@

#include "sched.h"

struct rv_monitor rv_sched;

struct rv_monitor rv_sched = {
	.name = "sched",
	.description = "container for several scheduler monitor specifications.",
+0 −2
Original line number Diff line number Diff line
@@ -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%%",