Skip to content

Commit

Permalink
pnp_removal: don't return value of pnp_query_remove_device
Browse files Browse the repository at this point in the history
  • Loading branch information
maharmstone committed May 24, 2020
1 parent b4bdfee commit 1726ed4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/volume.c
Original file line number Diff line number Diff line change
Expand Up @@ -949,7 +949,7 @@ NTSTATUS __stdcall pnp_removal(PVOID NotificationStructure, PVOID Context) {
TRACE("GUID_TARGET_DEVICE_QUERY_REMOVE\n");

if (pdode->vde && pdode->vde->mounted_device)
return pnp_query_remove_device(pdode->vde->mounted_device, NULL);
pnp_query_remove_device(pdode->vde->mounted_device, NULL);
}

return STATUS_SUCCESS;
Expand Down

0 comments on commit 1726ed4

Please sign in to comment.