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>
This commit is contained in:
parent
3d2bfeeef3
commit
3fee5b320c
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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.",
|
||||
|
|
|
|||
|
|
@ -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%%",
|
||||
|
|
|
|||
Loading…
Reference in New Issue