We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 404c952 commit fda4ae5Copy full SHA for fda4ae5
1 file changed
drivers/gpu/drm/asahi/file.rs
@@ -928,16 +928,16 @@ impl File {
928
929
/// IOCTL: get_time: Get the current GPU timer value.
930
pub(crate) fn get_time(
931
- device: &AsahiDevice,
+ _device: &AsahiDevice,
932
data: &mut uapi::drm_asahi_get_time,
933
- file: &DrmFile,
+ _file: &DrmFile,
934
) -> Result<u32> {
935
if data.extensions != 0 || data.flags != 0 {
936
cls_pr_debug!(Errors, "get_time: Unexpected extensions or flags\n");
937
return Err(EINVAL);
938
}
939
940
- let mut gputime: u64 = 0;
+ let gputime: u64;
941
942
// SAFETY: Assembly only loads the timer
943
unsafe {
0 commit comments