From e196586e62e149cbd82a686ba670e81ef3e88be0 Mon Sep 17 00:00:00 2001 From: datacore-rm Date: Mon, 24 Jul 2023 15:17:51 +0530 Subject: [PATCH] Do not bug check when any WMI method is not implemented. --- module/os/windows/zfs/zfs_windows_zvol_wmi.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/module/os/windows/zfs/zfs_windows_zvol_wmi.c b/module/os/windows/zfs/zfs_windows_zvol_wmi.c index 927a77b1944d..d38e5166f6bd 100644 --- a/module/os/windows/zfs/zfs_windows_zvol_wmi.c +++ b/module/os/windows/zfs/zfs_windows_zvol_wmi.c @@ -762,13 +762,6 @@ ExecuteWmiMethod( } default: - - __try { - DbgBreakPoint(); - } - __except(EXCEPTION_EXECUTE_HANDLER) { - } - status = SRB_STATUS_INVALID_REQUEST; break; } @@ -1036,12 +1029,6 @@ ExecuteWmiMethod( } default: - __try { - DbgBreakPoint(); - } - __except(EXCEPTION_EXECUTE_HANDLER) { - } - status = SRB_STATUS_INVALID_REQUEST; break; }