void tul_unlink_pend_scb(HCS * pCurHcb, SCB * pCurScb) 
static void tul_unlink_pend_scb(HCS * pCurHcb, SCB * pCurScb) 
void tul_unlink_pend_scb(HCS * pCurHcb, SCB * pCurScb){	SCB *pTmpScb, *pPrevScb;#if DEBUG_QUEUE	printk("unlink pend SCB %lx; ", (ULONG) pCurScb);#endif	pPrevScb = pTmpScb = pCurHcb->HCS_FirstPend;	while (pTmpScb != NULL) {		if (pCurScb == pTmpScb) {	/* Unlink this SCB              */			if (pTmpScb == pCurHcb->HCS_FirstPend) {				if ((pCurHcb->HCS_FirstPend = pTmpScb->SCB_NxtScb) == NULL)					pCurHcb->HCS_LastPend = NULL;			} else {				pPrevScb->SCB_NxtScb = pTmpScb->SCB_NxtScb;				if (pTmpScb == pCurHcb->HCS_LastPend)					pCurHcb->HCS_LastPend = pPrevScb;			}			pTmpScb->SCB_NxtScb = NULL;			break;		}		pPrevScb = pTmpScb;		pTmpScb = pTmpScb->SCB_NxtScb;	}	return;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/a2ba192c96d12447472e105890a9cd1b97952747/initio.c/clean/drivers/scsi/initio.c