From e619c575c3327088749bc03ea033397eaf9a814b Mon Sep 17 00:00:00 2001
From: Bruce Cowan <bruce.cowan@strath.ac.uk>
Date: Sat, 4 Jan 2020 16:35:23 +0000
Subject: [PATCH] Remove unusued (and wrong) logic

---
 src/rugby-app-window.c | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/src/rugby-app-window.c b/src/rugby-app-window.c
index 7362d19..26ed1b8 100644
--- a/src/rugby-app-window.c
+++ b/src/rugby-app-window.c
@@ -22,18 +22,6 @@ struct _RugbyAppWindow
 
 G_DEFINE_TYPE (RugbyAppWindow, rugby_app_window, GTK_TYPE_APPLICATION_WINDOW)
 
-static inline unsigned
-get_max_tries (unsigned score)
-{
-    return (score % 5 == 1) ? score / UTRY_POINTS - 1 : score / UTRY_POINTS;
-}
-
-static inline unsigned
-get_max_kicks (unsigned score)
-{
-    return (score % 3 == 1) ? score / KICK_POINTS : score / KICK_POINTS - 1;
-}
-
 static void
 scorespin_value_changed_cb (GtkSpinButton  *spin,
                             RugbyAppWindow *self)
-- 
GitLab