From 1392810a6cd6d9076b461bdacac2dd78eceea76b Mon Sep 17 00:00:00 2001 From: ivmarkov Date: Fri, 28 Apr 2023 10:50:28 +0000 Subject: [PATCH] Bugfix: unnecessary struct container --- matter/src/interaction_model/core.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/matter/src/interaction_model/core.rs b/matter/src/interaction_model/core.rs index 67e9181..2ce9c82 100644 --- a/matter/src/interaction_model/core.rs +++ b/matter/src/interaction_model/core.rs @@ -693,13 +693,9 @@ impl ResumeSubscribeReq { let mut tw = TLVWriter::new(tx.get_writebuf()?); - tw.start_struct(TagType::Anonymous)?; - let resp = SubscribeResp::new(self.subscription_id, 40); resp.to_tlv(&mut tw, TagType::Anonymous)?; - tw.end_container()?; - Ok(false) } }