diff mbox series

[2/5] ie: remove unneeded initialization

Message ID 20240304164846.1783148-2-prestwoj@gmail.com (mailing list archive)
State Accepted, archived
Headers show
Series [1/5] client: remove unneeded initialization | expand

Checks

Context Check Description
tedd_an/pre-ci_am success Success
prestwoj/iwd-ci-gitlint success GitLint

Commit Message

James Prestwood March 4, 2024, 4:48 p.m. UTC
---
 src/ie.c | 3 ---
 1 file changed, 3 deletions(-)
diff mbox series

Patch

diff --git a/src/ie.c b/src/ie.c
index a51724aa..86f33f2a 100644
--- a/src/ie.c
+++ b/src/ie.c
@@ -1178,9 +1178,6 @@  static int build_ciphers_common(const struct ie_rsn_info *info, uint8_t *to,
 	countptr = to + pos;
 	pos += 2;
 
-	akm_suite = IE_RSN_AKM_SUITE_8021X;
-	count = 0;
-
 	for (count = 0, akm_suite = IE_RSN_AKM_SUITE_8021X;
 			akm_suite <= IE_RSN_AKM_SUITE_OSEN;
 				akm_suite <<= 1) {