diff --git a/src/ft.c b/src/ft.c index aafb11fc..cff1d759 100644 --- a/src/ft.c +++ b/src/ft.c @@ -495,7 +495,6 @@ static int ft_process_ies(struct handshake_state *hs, const uint8_t *ies, if (ft_parse_ies(hs, ies, ies_len, &mde, &fte) < 0) goto ft_error; - if (!mde_equal(hs->mde, mde)) goto ft_error; diff --git a/src/netdev.c b/src/netdev.c index 4ced2e3c..d69962d1 100644 --- a/src/netdev.c +++ b/src/netdev.c @@ -2077,7 +2077,6 @@ done: L_WARN_ON(!eapol_start(netdev->sm)); } - static int netdev_get_oci(struct netdev *netdev) { struct l_genl_msg *msg = diff --git a/src/p2p.c b/src/p2p.c index 3bfb771a..62df1ea5 100644 --- a/src/p2p.c +++ b/src/p2p.c @@ -1167,7 +1167,6 @@ static size_t p2p_group_write_wfd_ie(struct p2p_device *dev, return 0; } - static size_t p2p_group_get_ies_len(enum mpdu_management_subtype type, const struct mmpdu_header *client_frame, size_t client_frame_len, diff --git a/src/station.c b/src/station.c index 4a41fe05..95858349 100644 --- a/src/station.c +++ b/src/station.c @@ -743,7 +743,6 @@ static bool station_owe_transition_results(int err, struct l_queue *bss_list, bss->owe_trans->ssid)) goto free; - /* Check if we have an open BSS that matches */ if (!network_has_open_pair(network, bss)) goto free;