Re: [PATCH] gsupplicant: Remove unused net_mapping hash table

2015-06-18 Thread Patrik Flykt
On Wed, 2015-06-17 at 14:22 +0530, Harish Jenny K N wrote:
 Removed all occurrences of net_mapping hash table as there
 were no entries getting added.

Applied, thanks!

Patrik

___
connman mailing list
connman@connman.net
https://lists.connman.net/mailman/listinfo/connman


Re: [PATCH] gsupplicant: Remove unused net_mapping hash table

2015-06-17 Thread Tomasz Bursztyka

Hi,


  static void interface_network_removed(DBusMessageIter *iter, void *user_data)
  {
-   GSupplicantInterface *interface = user_data;
-   GSupplicantNetwork *network;
-   const char *path = NULL;
-
-   dbus_message_iter_get_basic(iter, path);
-   if (!path)
-   return;
-
-   network = g_hash_table_lookup(interface-net_mapping, path);
-   if (!network)
-   return;
-
-   g_hash_table_remove(interface-net_mapping, path);
+   /* Function can be removed? */


Keep the function, for debug. So remove this comment.


+   SUPPLICANT_DBG();
+   return;
  }


Rest is fine.

Tomasz
___
connman mailing list
connman@connman.net
https://lists.connman.net/mailman/listinfo/connman