mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-19 15:33:56 +00:00
Move unused functions into #if 0 ... #endif.
This commit is contained in:
parent
382157f377
commit
684ac05ae8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=76306
@ -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