mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-24 18:54:52 +00:00
Remove/comment out unused functions.
This commit is contained in:
parent
a0359a7c84
commit
b6fb09837c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=42548
|
@ -27,7 +27,7 @@
|
|||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: if_sr.c,v 1.16 1998/10/22 05:58:39 bde Exp $
|
||||
* $Id: if_sr.c,v 1.17 1998/12/16 18:42:38 phk Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
|
@ -270,7 +270,6 @@ struct sr_hardc *srattach_pci(int unit, vm_offset_t plx_vaddr,
|
|||
void srintr_hc(struct sr_hardc *hc);
|
||||
|
||||
static int srattach(struct sr_hardc *hc);
|
||||
static ointhand2_t srintr;
|
||||
static void sr_xmit(struct sr_softc *sc);
|
||||
static void srstart(struct ifnet *ifp);
|
||||
static int srioctl(struct ifnet *ifp, u_long cmd, caddr_t data);
|
||||
|
@ -857,25 +856,6 @@ srattach(struct sr_hardc *hc)
|
|||
return 1;
|
||||
}
|
||||
|
||||
/*
|
||||
* N2 Interrupt Service Routine
|
||||
*
|
||||
* First figure out which SCA gave the interrupt.
|
||||
* Process it.
|
||||
* See if there is other interrupts pending.
|
||||
* Repeat until there no interrupts remain.
|
||||
*/
|
||||
static void
|
||||
srintr(int unit)
|
||||
{
|
||||
struct sr_hardc *hc;
|
||||
|
||||
hc = &sr_hardc[unit];
|
||||
srintr_hc(hc);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
void
|
||||
srintr_hc(struct sr_hardc *hc)
|
||||
{
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: if_sr.c,v 1.16 1998/10/22 05:58:39 bde Exp $
|
||||
* $Id: if_sr.c,v 1.17 1998/12/16 18:42:38 phk Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
|
@ -270,7 +270,6 @@ struct sr_hardc *srattach_pci(int unit, vm_offset_t plx_vaddr,
|
|||
void srintr_hc(struct sr_hardc *hc);
|
||||
|
||||
static int srattach(struct sr_hardc *hc);
|
||||
static ointhand2_t srintr;
|
||||
static void sr_xmit(struct sr_softc *sc);
|
||||
static void srstart(struct ifnet *ifp);
|
||||
static int srioctl(struct ifnet *ifp, u_long cmd, caddr_t data);
|
||||
|
@ -857,25 +856,6 @@ srattach(struct sr_hardc *hc)
|
|||
return 1;
|
||||
}
|
||||
|
||||
/*
|
||||
* N2 Interrupt Service Routine
|
||||
*
|
||||
* First figure out which SCA gave the interrupt.
|
||||
* Process it.
|
||||
* See if there is other interrupts pending.
|
||||
* Repeat until there no interrupts remain.
|
||||
*/
|
||||
static void
|
||||
srintr(int unit)
|
||||
{
|
||||
struct sr_hardc *hc;
|
||||
|
||||
hc = &sr_hardc[unit];
|
||||
srintr_hc(hc);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
void
|
||||
srintr_hc(struct sr_hardc *hc)
|
||||
{
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: if_sr.c,v 1.16 1998/10/22 05:58:39 bde Exp $
|
||||
* $Id: if_sr.c,v 1.17 1998/12/16 18:42:38 phk Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
|
@ -270,7 +270,6 @@ struct sr_hardc *srattach_pci(int unit, vm_offset_t plx_vaddr,
|
|||
void srintr_hc(struct sr_hardc *hc);
|
||||
|
||||
static int srattach(struct sr_hardc *hc);
|
||||
static ointhand2_t srintr;
|
||||
static void sr_xmit(struct sr_softc *sc);
|
||||
static void srstart(struct ifnet *ifp);
|
||||
static int srioctl(struct ifnet *ifp, u_long cmd, caddr_t data);
|
||||
|
@ -857,25 +856,6 @@ srattach(struct sr_hardc *hc)
|
|||
return 1;
|
||||
}
|
||||
|
||||
/*
|
||||
* N2 Interrupt Service Routine
|
||||
*
|
||||
* First figure out which SCA gave the interrupt.
|
||||
* Process it.
|
||||
* See if there is other interrupts pending.
|
||||
* Repeat until there no interrupts remain.
|
||||
*/
|
||||
static void
|
||||
srintr(int unit)
|
||||
{
|
||||
struct sr_hardc *hc;
|
||||
|
||||
hc = &sr_hardc[unit];
|
||||
srintr_hc(hc);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
void
|
||||
srintr_hc(struct sr_hardc *hc)
|
||||
{
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: istallion.c,v 1.21 1998/08/23 08:26:40 bde Exp $
|
||||
* $Id: istallion.c,v 1.22 1998/08/23 09:57:09 bde Exp $
|
||||
*/
|
||||
|
||||
/*****************************************************************************/
|
||||
|
@ -540,7 +540,6 @@ struct tty *stlidevtotty(dev_t dev);
|
|||
* Internal function prototypes.
|
||||
*/
|
||||
static stliport_t *stli_dev2port(dev_t dev);
|
||||
static int stli_chksharemem(void);
|
||||
static int stli_isaprobe(struct isa_device *idp);
|
||||
static int stli_eisaprobe(struct isa_device *idp);
|
||||
static int stli_mcaprobe(struct isa_device *idp);
|
||||
|
@ -3548,6 +3547,7 @@ static int stli_brdattach(stlibrd_t *brdp)
|
|||
* FIX: need to start this optimization somewhere...
|
||||
*/
|
||||
|
||||
#ifdef notdef
|
||||
static int stli_chksharemem()
|
||||
{
|
||||
stlibrd_t *brdp, *nxtbrdp;
|
||||
|
@ -3597,6 +3597,7 @@ static int stli_chksharemem()
|
|||
|
||||
return(0);
|
||||
}
|
||||
#endif /* notdef */
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
|
|
Loading…
Reference in a new issue