[PATCH 1/6] rv: Remove unused field in struct rv_monitor_def

Nam Cao posted 6 patches 2 months, 2 weeks ago
There is a newer version of this series
[PATCH 1/6] rv: Remove unused field in struct rv_monitor_def
Posted by Nam Cao 2 months, 2 weeks ago
rv_monitor_def::task_monitor is not used. Delete it.

Signed-off-by: Nam Cao <namcao@linutronix.de>
---
 kernel/trace/rv/rv.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/kernel/trace/rv/rv.h b/kernel/trace/rv/rv.h
index 98fca0a1adbc..873364094402 100644
--- a/kernel/trace/rv/rv.h
+++ b/kernel/trace/rv/rv.h
@@ -41,7 +41,6 @@ struct rv_monitor_def {
 	struct rv_reactor_def	*rdef;
 	bool			reacting;
 #endif
-	bool			task_monitor;
 };
 
 struct dentry *get_monitors_root(void);
-- 
2.39.5
Re: [PATCH 1/6] rv: Remove unused field in struct rv_monitor_def
Posted by Gabriele Monaco 2 months, 2 weeks ago
On Mon, 2025-07-21 at 11:47 +0200, Nam Cao wrote:
> rv_monitor_def::task_monitor is not used. Delete it.
> 
> Signed-off-by: Nam Cao <namcao@linutronix.de>

Reviewed-by: Gabriele Monaco <gmonaco@redhat.com>

Thanks,
Gabriele

> ---
>  kernel/trace/rv/rv.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/kernel/trace/rv/rv.h b/kernel/trace/rv/rv.h
> index 98fca0a1adbc..873364094402 100644
> --- a/kernel/trace/rv/rv.h
> +++ b/kernel/trace/rv/rv.h
> @@ -41,7 +41,6 @@ struct rv_monitor_def {
>  	struct rv_reactor_def	*rdef;
>  	bool			reacting;
>  #endif
> -	bool			task_monitor;
>  };
>  
>  struct dentry *get_monitors_root(void);