Fix the cache coherent field as dead code

This commit is contained in:
Zhang Junyang
2024-06-24 16:26:37 +00:00
committed by Tate, Hongliang Tian
parent d520360512
commit 4afac4d5ac

View File

@ -32,6 +32,8 @@ pub struct DmaStream {
struct DmaStreamInner {
vm_segment: Segment,
start_daddr: Daddr,
/// TODO: remove this field when on x86.
#[allow(unused)]
is_cache_coherent: bool,
direction: DmaDirection,
}