Move unused functions into #if 0 ... #endif.

This commit is contained in:
Yoshihiro Takahashi 2001-05-06 08:07:10 +00:00
parent 382157f377
commit 684ac05ae8
2 changed files with 8 additions and 0 deletions

View File

@ -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)

View File

@ -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)