mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-28 03:43:23 +00:00
Fix the cache coherent field as dead code
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
d520360512
commit
4afac4d5ac
@ -32,6 +32,8 @@ pub struct DmaStream {
|
|||||||
struct DmaStreamInner {
|
struct DmaStreamInner {
|
||||||
vm_segment: Segment,
|
vm_segment: Segment,
|
||||||
start_daddr: Daddr,
|
start_daddr: Daddr,
|
||||||
|
/// TODO: remove this field when on x86.
|
||||||
|
#[allow(unused)]
|
||||||
is_cache_coherent: bool,
|
is_cache_coherent: bool,
|
||||||
direction: DmaDirection,
|
direction: DmaDirection,
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user