diff --git a/libgupnp-ui/gupnp-ui-device-store.c b/libgupnp-ui/gupnp-ui-device-store.c
index cf13a37..8707b22 100644
--- a/libgupnp-ui/gupnp-ui-device-store.c
+++ b/libgupnp-ui/gupnp-ui-device-store.c
@@ -311,12 +311,9 @@ static void
 gupnp_ui_device_store_set_control_point (GUPnPUIDeviceStore *store,
                                          GUPnPControlPoint  *control_point)
 {
-        GtkListStore *list_store;
         const GList *devices;
         GList *l;
 
-        list_store = GTK_LIST_STORE (store);
-
         store->priv->control_point = g_object_ref (control_point);
 
         /* Listen for changes */
