From 54461f3e03bf88a91fa4f1c123564cb8e4ac22ac Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sat, 13 Sep 2014 16:22:16 +0300 Subject: [PATCH] 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 --- src/radius/radius_server.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/radius/radius_server.c b/src/radius/radius_server.c index 09024d19a..00394b49c 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;