Module Name:    src
Committed By:   pooka
Date:           Sun Aug  5 15:36:19 UTC 2012

Modified Files:
        src/sys/rump/librump/rumpnet: net_stub.c

Log Message:
Remove stubs which have been provided elsewhere for almost 2 years now.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/rump/librump/rumpnet/net_stub.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/rump/librump/rumpnet/net_stub.c
diff -u src/sys/rump/librump/rumpnet/net_stub.c:1.12 src/sys/rump/librump/rumpnet/net_stub.c:1.13
--- src/sys/rump/librump/rumpnet/net_stub.c:1.12	Tue Feb  1 01:39:21 2011
+++ src/sys/rump/librump/rumpnet/net_stub.c	Sun Aug  5 15:36:19 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: net_stub.c,v 1.12 2011/02/01 01:39:21 matt Exp $	*/
+/*	$NetBSD: net_stub.c,v 1.13 2012/08/05 15:36:19 pooka Exp $	*/
 
 /*
  * Copyright (c) 2008 Antti Kantee.  All Rights Reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: net_stub.c,v 1.12 2011/02/01 01:39:21 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: net_stub.c,v 1.13 2012/08/05 15:36:19 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/protosw.h>
@@ -72,30 +72,9 @@ __weak_alias(ieee8023ad_marker_input,__r
 
 struct ifnet_head ifnet;
 
-u_long
-compat_cvtcmd(u_long cmd)
-{
-
-	return cmd;
-}
-
 int
 compat_ifconf(u_long cmd, void *data)
 {
 
 	return EOPNOTSUPP;
 }
-
-int
-compat_ifioctl(struct socket *so, u_long ocmd, u_long cmd, void *data,
-	struct lwp *l)
-{
-	struct ifreq *ifr = data;
-	struct ifnet *ifp = ifunit(ifr->ifr_name);
-
-	if (!ifp)
-		return ENXIO;
-
-	return (*so->so_proto->pr_usrreq)(so, PRU_CONTROL,
-	    (struct mbuf *)cmd, (struct mbuf *)data, (struct mbuf *)ifp, l);
-}

Reply via email to