Move unused functions into #if 0 ... #endif.
This commit is contained in:
parent
2933ffb04d
commit
126876312e
@ -118,8 +118,10 @@ static void amd_ResetSCSIBus(struct amd_softc *amd);
|
||||
static void RequestSense(struct amd_softc *amd, struct amd_srb *pSRB);
|
||||
static void amd_InvalidCmd(struct amd_softc *amd);
|
||||
|
||||
#if 0
|
||||
static void amd_timeout(void *arg1);
|
||||
static void amd_reset(struct amd_softc *amd);
|
||||
#endif
|
||||
static u_int8_t * phystovirt(struct amd_srb *pSRB, u_int32_t xferCnt);
|
||||
|
||||
void amd_linkSRB(struct amd_softc *amd);
|
||||
@ -823,6 +825,7 @@ amdsettags(struct amd_softc *amd, u_int target, int tagenb)
|
||||
}
|
||||
|
||||
|
||||
#if 0
|
||||
/*
|
||||
**********************************************************************
|
||||
* Function : amd_reset (struct amd_softc * amd)
|
||||
@ -879,6 +882,7 @@ amd_timeout(void *arg1)
|
||||
|
||||
pSRB = (struct amd_srb *) arg1;
|
||||
}
|
||||
#endif
|
||||
|
||||
static int
|
||||
amdstart(struct amd_softc *amd, struct amd_srb *pSRB)
|
||||
|
@ -118,8 +118,10 @@ static void amd_ResetSCSIBus(struct amd_softc *amd);
|
||||
static void RequestSense(struct amd_softc *amd, struct amd_srb *pSRB);
|
||||
static void amd_InvalidCmd(struct amd_softc *amd);
|
||||
|
||||
#if 0
|
||||
static void amd_timeout(void *arg1);
|
||||
static void amd_reset(struct amd_softc *amd);
|
||||
#endif
|
||||
static u_int8_t * phystovirt(struct amd_srb *pSRB, u_int32_t xferCnt);
|
||||
|
||||
void amd_linkSRB(struct amd_softc *amd);
|
||||
@ -823,6 +825,7 @@ amdsettags(struct amd_softc *amd, u_int target, int tagenb)
|
||||
}
|
||||
|
||||
|
||||
#if 0
|
||||
/*
|
||||
**********************************************************************
|
||||
* Function : amd_reset (struct amd_softc * amd)
|
||||
@ -879,6 +882,7 @@ amd_timeout(void *arg1)
|
||||
|
||||
pSRB = (struct amd_srb *) arg1;
|
||||
}
|
||||
#endif
|
||||
|
||||
static int
|
||||
amdstart(struct amd_softc *amd, struct amd_srb *pSRB)
|
||||
|
Loading…
Reference in New Issue
Block a user