diff mbox series

[3/5] files: remove unneeded initialization

Message ID 20240304164846.1783148-3-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/fils.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/src/fils.c b/src/fils.c
index f876e7e5..ff8c1d6c 100644
--- a/src/fils.c
+++ b/src/fils.c
@@ -489,7 +489,7 @@  static int fils_rx_associate(struct auth_proto *driver, const uint8_t *frame,
 	bool sha384 = (fils->hs->akm_suite & (IE_RSN_AKM_SUITE_FILS_SHA384 |
 			IE_RSN_AKM_SUITE_FT_OVER_FILS_SHA384));
 	uint8_t data[44];
-	uint8_t *ptr = data;
+	uint8_t *ptr;
 
 	if (assoc->status_code != 0)
 		return L_CPU_TO_LE16(assoc->status_code);