summaryrefslogtreecommitdiffstats
path: root/sys/dev/sr
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>1999-01-12 01:17:01 +0000
committereivind <eivind@FreeBSD.org>1999-01-12 01:17:01 +0000
commitd408b948a58f90fce7dc3a2a437937f5d505f8af (patch)
treecf12be98c12aa40f48316559d7a71cc1bbe1a96b /sys/dev/sr
parente619c6e89c47357d633651d034ca5125997670f1 (diff)
downloadFreeBSD-src-d408b948a58f90fce7dc3a2a437937f5d505f8af.zip
FreeBSD-src-d408b948a58f90fce7dc3a2a437937f5d505f8af.tar.gz
Remove/comment out unused functions.
Diffstat (limited to 'sys/dev/sr')
-rw-r--r--sys/dev/sr/if_sr.c22
-rw-r--r--sys/dev/sr/if_sr_isa.c22
2 files changed, 2 insertions, 42 deletions
diff --git a/sys/dev/sr/if_sr.c b/sys/dev/sr/if_sr.c
index e7a2083..f655599 100644
--- a/sys/dev/sr/if_sr.c
+++ b/sys/dev/sr/if_sr.c
@@ -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)
{
diff --git a/sys/dev/sr/if_sr_isa.c b/sys/dev/sr/if_sr_isa.c
index e7a2083..f655599 100644
--- a/sys/dev/sr/if_sr_isa.c
+++ b/sys/dev/sr/if_sr_isa.c
@@ -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)
{
OpenPOWER on IntegriCloud