]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
RADIUS server: Remove unreachable code
authorJouni Malinen <j@w1.fi>
Sat, 13 Sep 2014 13:22:16 +0000 (16:22 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 13 Sep 2014 13:22:16 +0000 (16:22 +0300)
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>
src/radius/radius_server.c

index 09024d19a7774caad4497f20b5766077953e2f3c..00394b49c22003178db19018f4c81d35708e48cf 100644 (file)
@@ -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;