daemon: Remove the concept of triggering or suppressing events
Rather, trigger them (or not) as necessary in the relevant code-paths.
This ensures that any call to one of protocol_events_{set,clear}()
actually has a consequence that we can set about dealing with in the
transport layer.
Change-Id: If64733fa53ed9def0da8330c99cbe48327bab934
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
diff --git a/protocol.h b/protocol.h
index f2b8e6f..44de89e 100644
--- a/protocol.h
+++ b/protocol.h
@@ -120,13 +120,8 @@
int protocol_negotiate_version(struct mbox_context *context, uint8_t requested);
-#define EVENT_SUPPRESS false
-#define EVENT_TRIGGER true
-
-int protocol_events_set(struct mbox_context *context, uint8_t bmc_event,
- bool write_back);
-int protocol_events_clear(struct mbox_context *context, uint8_t bmc_event,
- bool write_back);
+int protocol_events_set(struct mbox_context *context, uint8_t bmc_event);
+int protocol_events_clear(struct mbox_context *context, uint8_t bmc_event);
/* Protocol v1 */
int protocol_v1_reset(struct mbox_context *context);