diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2010-11-05 16:10:57 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-11-05 16:10:57 +0100 |
commit | fb45cee5b0e4498597612da6195ab2de53cc0bff (patch) | |
tree | b62328c65f8bcd063f1090757e81c919dc9fadd8 /src/device.c | |
parent | 1bd31c1e11af97ac3b30aefda58f8f5ca4a706b9 (diff) | |
download | connman-fb45cee5b0e4498597612da6195ab2de53cc0bff.tar.gz connman-fb45cee5b0e4498597612da6195ab2de53cc0bff.tar.bz2 connman-fb45cee5b0e4498597612da6195ab2de53cc0bff.zip |
Remove DBusConnection reference from device/network interfaces
Diffstat (limited to 'src/device.c')
-rw-r--r-- | src/device.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/device.c b/src/device.c index 16aa8d36..f1af6759 100644 --- a/src/device.c +++ b/src/device.c @@ -26,12 +26,8 @@ #include <errno.h> #include <string.h> -#include <gdbus.h> - #include "connman.h" -static DBusConnection *connection = NULL; - struct connman_device { struct connman_element element; enum connman_device_type type; @@ -1324,8 +1320,6 @@ int __connman_device_init(void) { DBG(""); - connection = connman_dbus_get_connection(); - if (connman_storage_register(&device_storage) < 0) connman_error("Failed to register device storage"); @@ -1339,6 +1333,4 @@ void __connman_device_cleanup(void) connman_driver_unregister(&device_driver); connman_storage_unregister(&device_storage); - - dbus_connection_unref(connection); } |