Delete TODO

That comment predates the separation of RPU and TPU.
This commit is contained in:
Greg Fitzgerald 2018-06-16 08:59:28 -06:00
parent 586141adb2
commit 9d84ec4bb3
1 changed files with 0 additions and 4 deletions

View File

@ -261,10 +261,6 @@ pub fn to_blob<T: Serialize>(
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;