Remove unnecessary #[inline] attributes

This commit is contained in:
stuuupidcat
2025-05-20 16:13:24 +00:00
committed by Tate, Hongliang Tian
parent e81053b9dc
commit 95744692a5
6 changed files with 0 additions and 9 deletions

View File

@ -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);