| 900ee39c | 17-Dec-2025 |
George Liu <liuxiwei@ieisystem.com> |
Remove redundant is_method_error() checks
The handlers registered through sdbusplus::bus::match_t only receive D-Bus signals. Signal messages are never sent as method-error replies, and therefore me
Remove redundant is_method_error() checks
The handlers registered through sdbusplus::bus::match_t only receive D-Bus signals. Signal messages are never sent as method-error replies, and therefore message.is_method_error() can never be true in these callbacks.
This change removes all unnecessary is_method_error() checks from signal handlers to simplify the code and avoid confusion.
Change-Id: I1e29c0e6bf82d2bcaf61ca05984bb98420dac9fd Signed-off-by: George Liu <liuxiwei@ieisystem.com>
show more ...
|