From 2a42090ca95cb39dc42f0de0cc3e56b244777446 Mon Sep 17 00:00:00 2001 From: rbuj Date: Thu, 14 Oct 2021 12:31:39 +0200 Subject: gpm-backlight: unused function 'gpm_common_sum_scale' --- src/gpm-backlight.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src') diff --git a/src/gpm-backlight.c b/src/gpm-backlight.c index fd69465..cf9b06b 100644 --- a/src/gpm-backlight.c +++ b/src/gpm-backlight.c @@ -254,19 +254,6 @@ gpm_backlight_dialog_show (GpmBacklight *backlight) gdk_display_sync (gtk_widget_get_display (backlight->priv->popup)); } -/** - * gpm_common_sum_scale: - * - * Finds the average between value1 and value2 set on a scale factor - **/ -static inline gfloat -gpm_common_sum_scale (gfloat value1, gfloat value2, gfloat factor) -{ - gfloat diff; - diff = value1 - value2; - return value2 + (diff * factor); -} - /** * gpm_backlight_brightness_evaluate_and_set: **/ -- cgit v1.2.1