From 9d84ec4bb3eff1d8839bec940317cf9e2a6a2a12 Mon Sep 17 00:00:00 2001 From: Greg Fitzgerald Date: Sat, 16 Jun 2018 08:59:28 -0600 Subject: [PATCH] Delete TODO That comment predates the separation of RPU and TPU. --- src/packet.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/packet.rs b/src/packet.rs index 7090447c13..b98d6e0da3 100644 --- a/src/packet.rs +++ b/src/packet.rs @@ -261,10 +261,6 @@ pub fn to_blob( let mut b = blob.write().unwrap(); let v = serialize(&resp)?; let len = v.len(); - // TODO: we are not using .data_mut() method here because - // the raw bytes are being serialized and sent, this isn't the - // right interface, and we should create a separate path for - // sending request responses in the RPU assert!(len < BLOB_SIZE); b.data[..len].copy_from_slice(&v); b.meta.size = len;