From c20d85ce25e12b59fbe02a30b569fafc0b6b3664 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o?= Date: Sun, 4 Aug 2024 18:13:20 -0300 Subject: [PATCH] Small fix --- driver/src/utils/macros.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/driver/src/utils/macros.rs b/driver/src/utils/macros.rs index 609c79a..1fae3c2 100644 --- a/driver/src/utils/macros.rs +++ b/driver/src/utils/macros.rs @@ -173,7 +173,6 @@ macro_rules! handle_callback { }; let mut status = 0; - match $ioctl { IOCTL_ENUMERATE_CALLBACK => { status = match (*input_buffer).callback { @@ -210,7 +209,6 @@ macro_rules! handle_callback { }; let mut status = 0; - match $ioctl { IOCTL_REMOVE_CALLBACK => { status = match (*input_buffer).callback {