Delete TODO
That comment predates the separation of RPU and TPU.
This commit is contained in:
parent
586141adb2
commit
9d84ec4bb3
|
@ -261,10 +261,6 @@ pub fn to_blob<T: Serialize>(
|
||||||
let mut b = blob.write().unwrap();
|
let mut b = blob.write().unwrap();
|
||||||
let v = serialize(&resp)?;
|
let v = serialize(&resp)?;
|
||||||
let len = v.len();
|
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);
|
assert!(len < BLOB_SIZE);
|
||||||
b.data[..len].copy_from_slice(&v);
|
b.data[..len].copy_from_slice(&v);
|
||||||
b.meta.size = len;
|
b.meta.size = len;
|
||||||
|
|
Loading…
Reference in New Issue