From cd21d947aca12cacb989dc17330355d12a9bff29 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Fri, 18 Mar 2022 19:06:28 +0100 Subject: [PATCH] score.c: Remove event handler. Event handlers are optional, and the one for the score table did not do anything, so.. --- score.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/score.c b/score.c index edc46ed4..0ecdf601 100644 --- a/score.c +++ b/score.c @@ -314,12 +314,6 @@ int clear_score_table(void) return score_open(NULL); } -static int score_event_handler(__a_unused enum afs_events event, - __a_unused struct para_buffer *pb, __a_unused void *data) -{ - return 1; -} - /** * Initialize the scoring subsystem. * @@ -330,5 +324,4 @@ void score_init(struct afs_table *t) t->name = score_table_desc.name; t->open = score_open; t->close = score_close; - t->event_handler = score_event_handler; } -- 2.39.5