summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2023-04-11 16:46:56 +0200
committerBastien Nocera <hadess@hadess.net>2023-04-15 15:12:10 +0200
commit0ffb3d5e644340ce0f5d4d5044ecdb724c25c330 (patch)
treea59bb3608cfe703527b7fd555655cd60e4e22ec9
parent12e97ebba36ac725e31d5dab1374a6206342ac0d (diff)
downloadupower-0ffb3d5e644340ce0f5d4d5044ecdb724c25c330.tar.gz
linux: Remove unused variable
-rw-r--r--src/linux/up-device-supply.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/linux/up-device-supply.c b/src/linux/up-device-supply.c
index dd5bfdc..c5222b5 100644
--- a/src/linux/up-device-supply.c
+++ b/src/linux/up-device-supply.c
@@ -324,7 +324,6 @@ up_device_supply_sibling_discovered (UpDevice *device,
GObject *sibling)
{
GUdevDevice *input;
- g_autofree char *device_type = NULL;
UpDeviceKind cur_type, new_type;
char *model_name;
char *serial_number;