diff options
author | dg <dg@FreeBSD.org> | 1995-06-21 10:13:23 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1995-06-21 10:13:23 +0000 |
commit | 23a07febc37490f2a7f50955475fe3f4005b7ba7 (patch) | |
tree | 015cc366aac317d5136bd22107dfdec03abfd855 /sys/net/if_sl.c | |
parent | bc8af5206c12b1c5621b30d4cf1430aa3fbeed36 (diff) | |
download | FreeBSD-src-23a07febc37490f2a7f50955475fe3f4005b7ba7.zip FreeBSD-src-23a07febc37490f2a7f50955475fe3f4005b7ba7.tar.gz |
Killed a couple lines of redundant code.
Diffstat (limited to 'sys/net/if_sl.c')
-rw-r--r-- | sys/net/if_sl.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/net/if_sl.c b/sys/net/if_sl.c index 550ee5e..db46905 100644 --- a/sys/net/if_sl.c +++ b/sys/net/if_sl.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)if_sl.c 8.6 (Berkeley) 2/1/94 - * $Id: if_sl.c,v 1.21 1995/06/21 08:48:19 davidg Exp $ + * $Id: if_sl.c,v 1.22 1995/06/21 09:11:22 davidg Exp $ */ /* @@ -909,10 +909,6 @@ slioctl(ifp, cmd, data) switch (cmd) { case SIOCSIFADDR: - if (ifa->ifa_addr->sa_family != AF_INET) - error = EAFNOSUPPORT; - break; - case SIOCSIFDSTADDR: if (ifa->ifa_addr->sa_family != AF_INET) error = EAFNOSUPPORT; |