From: Antonio Quartulli Date: Wed, 10 Jul 2013 14:52:04 +0000 (+0200) Subject: batman-adv: remove bogus comment X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e75de4fa41d810113cf81f658a56e3972c7c12b4;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git batman-adv: remove bogus comment this comment refers to the old batmand codebase and does not make sense anymore. Remove it Signed-off-by: Antonio Quartulli Signed-off-by: Marek Lindner --- diff --git a/net/batman-adv/gateway_client.c b/net/batman-adv/gateway_client.c index 4ed410f73de4..20fa053b7f57 100644 --- a/net/batman-adv/gateway_client.c +++ b/net/batman-adv/gateway_client.c @@ -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;