]> git.tue.mpg.de Git - paraslash.git/commitdiff
score.c: Remove event handler.
authorAndre Noll <maan@tuebingen.mpg.de>
Fri, 18 Mar 2022 18:06:28 +0000 (19:06 +0100)
committerAndre Noll <maan@tuebingen.mpg.de>
Mon, 17 Oct 2022 18:36:21 +0000 (20:36 +0200)
Event handlers are optional, and the one for the score table did not
do anything, so..

score.c

diff --git a/score.c b/score.c
index edc46ed4f577435a1512be6925b63c305559c038..0ecdf601456c6e46fe86ec22e8c2dc75474729cb 100644 (file)
--- 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;
 }