Commit 53eacee0 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

wnaspi32: Remove unused variables.

parent d684d5ac
...@@ -126,7 +126,6 @@ ASPI_OpenDevice16(SRB_ExecSCSICmd16 *prb) ...@@ -126,7 +126,6 @@ ASPI_OpenDevice16(SRB_ExecSCSICmd16 *prb)
static void static void
ASPI_DebugPrintCmd(SRB_ExecSCSICmd16 *prb, UINT16 mode) ASPI_DebugPrintCmd(SRB_ExecSCSICmd16 *prb, UINT16 mode)
{ {
BYTE cmd;
int i; int i;
BYTE *cdb; BYTE *cdb;
BYTE *lpBuf = PTR_TO_LIN( prb->SRB_BufPointer, mode ); BYTE *lpBuf = PTR_TO_LIN( prb->SRB_BufPointer, mode );
...@@ -173,7 +172,6 @@ ASPI_DebugPrintCmd(SRB_ExecSCSICmd16 *prb, UINT16 mode) ...@@ -173,7 +172,6 @@ ASPI_DebugPrintCmd(SRB_ExecSCSICmd16 *prb, UINT16 mode)
TRACE("CDB Length: %d\n", prb->SRB_CDBLen); TRACE("CDB Length: %d\n", prb->SRB_CDBLen);
TRACE("POST Proc: %x\n", (DWORD) prb->SRB_PostProc); TRACE("POST Proc: %x\n", (DWORD) prb->SRB_PostProc);
cdb = &prb->CDBByte[0]; cdb = &prb->CDBByte[0];
cmd = prb->CDBByte[0];
if (TRACE_ON(aspi)) if (TRACE_ON(aspi))
{ {
TRACE("CDB buffer["); TRACE("CDB buffer[");
......
...@@ -140,7 +140,6 @@ ASPI_OpenDevice(SRB_ExecSCSICmd *prb) ...@@ -140,7 +140,6 @@ ASPI_OpenDevice(SRB_ExecSCSICmd *prb)
static void static void
ASPI_DebugPrintCmd(SRB_ExecSCSICmd *prb) ASPI_DebugPrintCmd(SRB_ExecSCSICmd *prb)
{ {
BYTE cmd;
int i; int i;
BYTE *cdb; BYTE *cdb;
...@@ -185,7 +184,6 @@ ASPI_DebugPrintCmd(SRB_ExecSCSICmd *prb) ...@@ -185,7 +184,6 @@ ASPI_DebugPrintCmd(SRB_ExecSCSICmd *prb)
TRACE("CDB Length: %d\n", prb->SRB_CDBLen); TRACE("CDB Length: %d\n", prb->SRB_CDBLen);
TRACE("POST Proc: %p\n", prb->SRB_PostProc); TRACE("POST Proc: %p\n", prb->SRB_PostProc);
cdb = &prb->CDBByte[0]; cdb = &prb->CDBByte[0];
cmd = prb->CDBByte[0];
if (TRACE_ON(aspi)) { if (TRACE_ON(aspi)) {
TRACE("CDB buffer["); TRACE("CDB buffer[");
for (i = 0; i < prb->SRB_CDBLen; i++) { for (i = 0; i < prb->SRB_CDBLen; i++) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment