batman-adv: remove bogus comment
authorAntonio Quartulli <antonio@open-mesh.com>
Wed, 10 Jul 2013 14:52:04 +0000 (16:52 +0200)
committerAntonio Quartulli <antonio@meshcoding.com>
Sat, 19 Oct 2013 15:31:55 +0000 (17:31 +0200)
this comment refers to the old batmand codebase and does
not make sense anymore. Remove it

Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
net/batman-adv/gateway_client.c

index 4ed410f73de49811f77dbbfc23d0831ab9620a03..20fa053b7f577c26e639a974c033c6fd5dd1ca92 100644 (file)
@@ -221,11 +221,6 @@ void batadv_gw_election(struct batadv_priv *bat_priv)
        struct batadv_neigh_node *router = NULL;
        char gw_addr[18] = { '\0' };
 
-       /* The batman daemon checks here if we already passed a full originator
-        * cycle in order to make sure we don't choose the first gateway we
-        * hear about. This check is based on the daemon's uptime which we
-        * don't have.
-        */
        if (atomic_read(&bat_priv->gw_mode) != BATADV_GW_MODE_CLIENT)
                goto out;