network: Remove unused parameter from autoconf_ipv6_set()
authorJukka Rissanen <jukka.rissanen@nokia.com>
Wed, 16 Feb 2011 13:07:48 +0000 (15:07 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 16 Feb 2011 14:31:55 +0000 (15:31 +0100)
src/network.c

index a8ebb4710a835b1987037c924fc4ca1346153401..adeba7929cc931bf91911e49b157dbe32f1fa46e 100644 (file)
@@ -772,8 +772,7 @@ static int manual_ipv6_set(struct connman_network *network,
        return 0;
 }
 
-static void autoconf_ipv6_set(struct connman_network *network,
-                               struct connman_ipconfig *ipconfig_ipv6)
+static void autoconf_ipv6_set(struct connman_network *network)
 {
        struct connman_service *service;
        struct connman_ipconfig *ipconfig;
@@ -832,7 +831,7 @@ static gboolean set_connected(gpointer user_data)
                case CONNMAN_IPCONFIG_METHOD_OFF:
                        break;
                case CONNMAN_IPCONFIG_METHOD_AUTO:
-                       autoconf_ipv6_set(network, ipconfig_ipv6);
+                       autoconf_ipv6_set(network);
                        break;
                case CONNMAN_IPCONFIG_METHOD_FIXED:
                case CONNMAN_IPCONFIG_METHOD_MANUAL:
@@ -1157,7 +1156,7 @@ int __connman_network_set_ipconfig(struct connman_network *network,
                case CONNMAN_IPCONFIG_METHOD_OFF:
                        break;
                case CONNMAN_IPCONFIG_METHOD_AUTO:
-                       autoconf_ipv6_set(network, ipconfig_ipv6);
+                       autoconf_ipv6_set(network);
                        break;
                case CONNMAN_IPCONFIG_METHOD_FIXED:
                case CONNMAN_IPCONFIG_METHOD_MANUAL: