From d9509a2db155a9b5fc98d2bf6a33d797c25ce0e7 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Tue, 16 Aug 2016 11:36:25 +0200 Subject: [PATCH] device: don't initalize fields in nm_device_init() to NULL They are already guaranteed to be 0/NULL. --- src/devices/nm-device.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c index 72ed5e911c..69f2a63a36 100644 --- a/src/devices/nm-device.c +++ b/src/devices/nm-device.c @@ -12018,11 +12018,6 @@ nm_device_init (NMDevice *self) priv->v4_commit_first_time = TRUE; priv->v6_commit_first_time = TRUE; - - priv->refresh_rate_ms = 0; - priv->tx_bytes = 0; - priv->rx_bytes = 0; - priv->statistics = NULL; } static GObject*