From 61f4ce826122f19a0a0c734efb4c2469b2aa367b Mon Sep 17 00:00:00 2001 From: Raghunath M <84957265+datacore-rm@users.noreply.github.com> Date: Mon, 31 Jul 2023 08:08:14 +0530 Subject: [PATCH] Do not bug check when any WMI method is not implemented. (#248) --- 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; }