[APPHELP_APITEST] Add tests for SdbGetMatchingExe, to test matching on version resour...
[reactos.git] / reactos / drivers / storage / classpnp / obsolete.c
index 40b7b4e..498507a 100644 (file)
@@ -24,7 +24,6 @@ Revision History:
 --*/
 
 #include "classp.h"
-#include "debug.h"
 
 PIRP NTAPI ClassRemoveCScanList(IN PCSCAN_LIST List);
 VOID NTAPI ClasspInitializeCScanList(IN PCSCAN_LIST List);
@@ -316,7 +315,7 @@ RetryRequest()
 Routine Description:
 
     This is a wrapper around the delayed retry DPC routine, RetryRequestDPC.
-    This reinitalizes the necessary fields, queues the request, and sets
+    This reinitializes the necessary fields, queues the request, and sets
     a timer to call the DPC if someone hasn't already done so.
 
 Arguments:
@@ -327,7 +326,7 @@ Arguments:
 
     Srb - Supplies a Pointer to the SCSI request block to be retied.
 
-    Assocaiated - Indicates this is an assocatied Irp created by split request.
+    Associated - Indicates this is an associated Irp created by split request.
 
     RetryInterval - How long, in seconds, before retrying the request.
 
@@ -346,7 +345,6 @@ RetryRequest(
     ULONG RetryInterval
     )
 {
-    PCOMMON_DEVICE_EXTENSION commonExtension = DeviceObject->DeviceExtension;
     PIO_STACK_LOCATION currentIrpStack = IoGetCurrentIrpStackLocation(Irp);
     PIO_STACK_LOCATION nextIrpStack = IoGetNextIrpStackLocation(Irp);
     ULONG transferByteCount;
@@ -847,10 +845,9 @@ Return Value:
 --*/            
 
 {
-    PCLASS_PRIVATE_FDO_DATA privateData = FdoExtension->PrivateFdoData;
     PCOMMON_DEVICE_EXTENSION commonExt = &FdoExtension->CommonExtension;
-    KIRQL oldIrql;
-    PIRP blockedIrp;
+    //KIRQL oldIrql;
+    //PIRP blockedIrp;
 
     // This function is obsolete, but still called by DISK.SYS .
     // DBGWARN(("ClassFreeOrReuseSrb is OBSOLETE !"));
@@ -873,7 +870,7 @@ Return Value:
         ClasspFreeSrb(FdoExtension, Srb);
     }
     else {
-        DBGERR(("ClassFreeOrReuseSrb: someone is trying to use an uninitialized SrbLookasideList !!!"));;
+        DBGERR(("ClassFreeOrReuseSrb: someone is trying to use an uninitialized SrbLookasideList !!!"));
         ExFreePool(Srb);
     }
 }