summaryrefslogtreecommitdiff
path: root/src/up-device.c
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2013-10-11 09:31:57 +0200
committerBastien Nocera <hadess@hadess.net>2013-10-14 10:42:56 +0200
commit91df125e39c5200b87938ad51d28c1174b17bd1d (patch)
treee1285079413ce4202e629dce80a8a3adcd1ae3c4 /src/up-device.c
parent8c83871f10b363c7080afbc4dca8fb7841edf42a (diff)
downloadupower-91df125e39c5200b87938ad51d28c1174b17bd1d.tar.gz
daemon: Remove unneeded reset of priv struct members
It's already done by GObject.
Diffstat (limited to 'src/up-device.c')
-rw-r--r--src/up-device.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/up-device.c b/src/up-device.c
index cf309fc..9465180 100644
--- a/src/up-device.c
+++ b/src/up-device.c
@@ -862,13 +862,6 @@ up_device_init (UpDevice *device)
GError *error = NULL;
device->priv = UP_DEVICE_GET_PRIVATE (device);
- device->priv->object_path = NULL;
- device->priv->system_bus_connection = NULL;
- device->priv->system_bus_proxy = NULL;
- device->priv->daemon = NULL;
- device->priv->native = NULL;
- device->priv->has_ever_refresh = FALSE;
- device->priv->during_coldplug = FALSE;
device->priv->history = up_history_new ();
device->priv->system_bus_connection = dbus_g_bus_get (DBUS_BUS_SYSTEM, &error);