Message ID | 4AE456F8.5080309@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/viostor/virtio_stor.c b/viostor/virtio_stor.c index 4c9fe27..ad7f005 100644 --- a/viostor/virtio_stor.c +++ b/viostor/virtio_stor.c @@ -1133,7 +1133,7 @@ CompleteDPC( CompleteSRB(DeviceExtension, Srb); } - +#ifdef USE_STORPORT VOID CompleteDpcRoutine( IN PSTOR_DPC Dpc, @@ -1182,3 +1182,4 @@ CompleteDpcRoutine( } return; } +#endif diff --git a/viostor/virtio_stor.h b/viostor/virtio_stor.h index 221c653..063c1d1 100644 --- a/viostor/virtio_stor.h +++ b/viostor/virtio_stor.h @@ -103,7 +103,9 @@ typedef struct _ADAPTER_EXTENSION { BOOLEAN dump_mode; LIST_ENTRY list_head; LIST_ENTRY complete_list; +#ifdef USE_STORPORT STOR_DPC completion_dpc; +#endif BOOLEAN has_sn; ULONG msix_vectors; }ADAPTER_EXTENSION, *PADAPTER_EXTENSION;