aboutsummaryrefslogtreecommitdiffstats
path: root/src/radius
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2014-09-13 13:22:16 (GMT)
committerJouni Malinen <j@w1.fi>2014-09-13 13:22:16 (GMT)
commit54461f3e03bf88a91fa4f1c123564cb8e4ac22ac (patch)
tree2cafc480a46598ca5072afe253f0834f45b34600 /src/radius
parente4474c1c20a1442f96dfe6680881bb04648738f8 (diff)
downloadhostap-54461f3e03bf88a91fa4f1c123564cb8e4ac22ac.zip
hostap-54461f3e03bf88a91fa4f1c123564cb8e4ac22ac.tar.gz
hostap-54461f3e03bf88a91fa4f1c123564cb8e4ac22ac.tar.bz2
RADIUS server: Remove unreachable code
The previous break will already stop the loop, so this unnecessary check can be removed (CID 72708). Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src/radius')
-rw-r--r--src/radius/radius_server.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/radius/radius_server.c b/src/radius/radius_server.c
index 09024d1..00394b4 100644
--- a/src/radius/radius_server.c
+++ b/src/radius/radius_server.c
@@ -2048,8 +2048,6 @@ void radius_server_eap_pending_cb(struct radius_server_data *data, void *ctx)
sess = s;
break;
}
- if (sess)
- break;
}
if (sess)
break;