led: Drop unused variable

This commit is contained in:
Guido Günther
2024-05-17 06:24:50 +00:00
committed by Guido Günther
parent 83f14a451a
commit b8718992d1
-1
View File
@@ -72,7 +72,6 @@ fbd_dev_led_probe_default (FbdDevLed *led, GError **error)
c = strrchr (enum_name, '_');
color = g_ascii_strdown (c+1, -1);
if (g_strstr_len (name, -1, color)) {
g_autoptr (GError) err = NULL;
guint brightness = g_udev_device_get_sysfs_attr_as_int (priv->dev, LED_MAX_BRIGHTNESS_ATTR);
if (!brightness)