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 {