device/wifi: remove unnecessary call to remove_supplicant_interface_error_handler()

remove_supplicant_interface_error_handler() is not needed as we later disconnect
all handlers for @self.

(cherry picked from commit 8dcf4d32e9)
This commit is contained in:
Thomas Haller 2016-01-19 14:21:15 +01:00
parent 9345900f28
commit 91bdabc808

View file

@ -272,8 +272,6 @@ supplicant_interface_release (NMDeviceWifi *self)
}
if (priv->sup_iface) {
remove_supplicant_interface_error_handler (self);
/* Clear supplicant interface signal handlers */
g_signal_handlers_disconnect_by_data (priv->sup_iface, self);