]> git.ipfire.org Git - thirdparty/linux.git/commit
rv: Cleanup da_monitor after refactor
authorGabriele Monaco <gmonaco@redhat.com>
Wed, 26 Nov 2025 10:42:33 +0000 (11:42 +0100)
committerGabriele Monaco <gmonaco@redhat.com>
Mon, 12 Jan 2026 06:43:49 +0000 (07:43 +0100)
commitfa9b26dfa172d145447fc1fca0337dfcf8588d19
tree55038f27076a8935f4e72aa31574b33e53a9a11a
parent30984ccf31b7f0678fad05a22e06bb9f6014c1ce
rv: Cleanup da_monitor after refactor

Previous changes refactored the da_monitor header file to avoid using
macros, however empty macros (e.g. DECLARE_DA_FUNCTION) were left to
ease review with diff tools.
Most macros also get the argument type which doesn't really have a
purpose since states have their own enum and the storage in struct
da_monitor is fixed to unsigned int.

Remove empty and no longer required macros and substitute the type
parameter with the appropriate enum.
Additionally break long line and adjust the format overall.

Reviewed-by: Nam Cao <namcao@linutronix.de>
Link: https://lore.kernel.org/r/20251126104241.291258-3-gmonaco@redhat.com
Signed-off-by: Gabriele Monaco <gmonaco@redhat.com>
include/rv/automata.h
include/rv/da_monitor.h