Remove unused method from drm::Dev

This commit is contained in:
bjorn3
2025-12-17 22:14:32 +01:00
parent e10013d5bf
commit 2199c0fa10
-10
View File
@@ -56,16 +56,6 @@ impl Dev {
Ok(Self { fd })
}
unsafe fn call<T>(&self, payload: &mut T, func: u64) -> syscall::Result<usize> {
let bytes = slice::from_raw_parts_mut(payload as *mut T as *mut u8, size_of::<T>());
redox_rt::sys::sys_call(
self.fd as usize,
bytes,
syscall::CallFlags::empty(),
&[func],
)
}
unsafe fn read_write_ioctl<T: IoctlData>(
&self,
mut buf: IoctlBuffer,