Remove unused __connman_detect_get_blocked function
authorMarcel Holtmann <marcel@holtmann.org>
Mon, 4 Oct 2010 12:36:26 +0000 (14:36 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 4 Oct 2010 12:36:26 +0000 (14:36 +0200)
src/connman.h
src/detect.c
src/device.c

index 02e488d..2f8f5af 100644 (file)
@@ -187,8 +187,6 @@ gboolean __connman_element_device_isfiltered(const char *devname);
 int __connman_detect_init(void);
 void __connman_detect_cleanup(void);
 
-connman_bool_t __connman_detect_get_blocked(int phyindex);
-
 #include <connman/ipconfig.h>
 
 int __connman_ipconfig_init(void);
index ed5e8a8..97a8c60 100644 (file)
@@ -106,11 +106,6 @@ static struct connman_rtnl detect_rtnl = {
        .dellink        = detect_dellink,
 };
 
-connman_bool_t __connman_detect_get_blocked(int phyindex)
-{
-       return FALSE;
-}
-
 int __connman_detect_init(void)
 {
        DBG("");
index 315c514..f6fc15e 100644 (file)
@@ -559,9 +559,6 @@ static int setup_device(struct connman_device *device)
                break;
        }
 
-       if (__connman_detect_get_blocked(device->phyindex) == TRUE)
-               return 0;
-
        if (device->offlinemode == FALSE &&
                                device->powered_persistent == TRUE)
                __connman_device_enable(device);