diff options
author | arr <arr@FreeBSD.org> | 2002-04-21 01:41:05 +0000 |
---|---|---|
committer | arr <arr@FreeBSD.org> | 2002-04-21 01:41:05 +0000 |
commit | ab6fdd245b7105f237c28d1ef4105422a65b8ec1 (patch) | |
tree | 561c7b3bfe7901c0c84e088740e10a21d9fb43ec /sys/netatm/atm_if.c | |
parent | 3881ce8d9cdfa95c64777d7ca9506a825dfdd6a3 (diff) | |
download | FreeBSD-src-ab6fdd245b7105f237c28d1ef4105422a65b8ec1.zip FreeBSD-src-ab6fdd245b7105f237c28d1ef4105422a65b8ec1.tar.gz |
- Nuke some more not needed #ifdef cruft.
Diffstat (limited to 'sys/netatm/atm_if.c')
-rw-r--r-- | sys/netatm/atm_if.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/sys/netatm/atm_if.c b/sys/netatm/atm_if.c index a465a35..4f1b6a9 100644 --- a/sys/netatm/atm_if.c +++ b/sys/netatm/atm_if.c @@ -65,17 +65,11 @@ __RCSID("@(#) $FreeBSD$"); #endif -#if (defined(BSD) && (BSD < 199506)) -extern int ifqmaxlen; -#endif - /* * Local functions */ static int atm_physif_ioctl(int, caddr_t, caddr_t); -#if (defined(BSD) && (BSD >= 199306)) static int atm_netif_rtdel(struct radix_node *, void *); -#endif static int atm_if_ioctl(struct ifnet *, u_long, caddr_t); static int atm_ifparse(char *, char *, int, int *); @@ -319,11 +313,9 @@ atm_physif_ioctl(code, data, arg) int count, len, buf_len = aip->air_buf_len; int err = 0; char ifname[2*IFNAMSIZ]; -#if (defined(BSD) && (BSD >= 199103)) struct ifaddr *ifa; struct in_ifaddr *ia; struct sockaddr_dl *sdl; -#endif switch ( aip->air_opcode ) { @@ -527,7 +519,6 @@ atm_physif_ioctl(code, data, arg) ifp->if_output = atm_ifoutput; ifp->if_ioctl = atm_if_ioctl; ifp->if_snd.ifq_maxlen = ifqmaxlen; -#if (defined(BSD) && (BSD >= 199103)) /* * Set if_type and if_baudrate */ @@ -548,8 +539,6 @@ atm_physif_ioctl(code, data, arg) ifp->if_baudrate = 9600; break; } -#endif - if ((err = atm_nif_attach(nip)) != 0) { atm_free ( (caddr_t)nip ); @@ -559,7 +548,6 @@ atm_physif_ioctl(code, data, arg) atm_physif_freenifs(pip); break; } -#if (defined(BSD) && (BSD >= 199103)) /* * Set macaddr in <Link> address */ @@ -573,7 +561,6 @@ atm_physif_ioctl(code, data, arg) bcopy ( (caddr_t)&cup->cu_config.ac_macaddr, LLADDR(sdl), ifp->if_addrlen ); } -#endif } break; @@ -1005,17 +992,11 @@ atm_nif_setaddr(nip, ifa) * */ int -#if (defined(BSD) && (BSD >= 199103)) atm_ifoutput(ifp, m, dst, rt) -#else -atm_ifoutput(ifp, m, dst) -#endif struct ifnet *ifp; KBuffer *m; struct sockaddr *dst; -#if (defined(BSD) && (BSD >= 199103)) struct rtentry *rt; -#endif { u_short fam = dst->sa_family; int (*func)(struct ifnet *, KBuffer *, |