mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-22 08:53:29 +00:00
Remove unnecessary #[inline] attributes
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
e81053b9dc
commit
95744692a5
@ -421,7 +421,6 @@ pub struct Descriptor {
|
||||
|
||||
type DescriptorPtr<'a> = SafePtr<Descriptor, &'a DmaCoherent, TRightSet<TRights![Dup, Write]>>;
|
||||
|
||||
#[inline]
|
||||
fn set_dma_buf<T: DmaBuf>(desc_ptr: &DescriptorPtr, buf: &T) {
|
||||
// TODO: skip the empty dma buffer or just return error?
|
||||
debug_assert_ne!(buf.len(), 0);
|
||||
|
Reference in New Issue
Block a user