From 88e2b22c9f8a1a84cd855ce44adac025c7501322 Mon Sep 17 00:00:00 2001 From: Mike Smith Date: Mon, 2 Jun 1997 06:33:22 +0000 Subject: [PATCH] Oops, remove some bogus debugging code that crept in with the last commit. --- sys/compat/linux/linux_ioctl.c | 11 +---------- sys/i386/linux/linux_ioctl.c | 11 +---------- 2 files changed, 2 insertions(+), 20 deletions(-) diff --git a/sys/compat/linux/linux_ioctl.c b/sys/compat/linux/linux_ioctl.c index c138945e1b67..0f2829e988ff 100644 --- a/sys/compat/linux/linux_ioctl.c +++ b/sys/compat/linux/linux_ioctl.c @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: linux_ioctl.c,v 1.16 1997/03/24 11:37:50 bde Exp $ + * $Id: linux_ioctl.c,v 1.17 1997/06/02 06:28:04 msmith Exp $ */ #include @@ -602,15 +602,6 @@ linux_ioctl(struct proc *p, struct linux_ioctl_args *args, int *retval) * Note that we don't actually respect the name in the ifreq structure, as * Linux interface names are all different */ -#ifdef DEBUG - { - char ifname[LINUX_IFNAMSIZ]; - - if (!copyin(ifname, (caddr_t)ifr->ifr_name, LINUX_IFNAMSIZ)) { - printf("linux_ioctl: get HW address for '%s'\n", ifname); - } - } -#endif for (ifn = 0; ifn < if_index; ifn++) { diff --git a/sys/i386/linux/linux_ioctl.c b/sys/i386/linux/linux_ioctl.c index c138945e1b67..0f2829e988ff 100644 --- a/sys/i386/linux/linux_ioctl.c +++ b/sys/i386/linux/linux_ioctl.c @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: linux_ioctl.c,v 1.16 1997/03/24 11:37:50 bde Exp $ + * $Id: linux_ioctl.c,v 1.17 1997/06/02 06:28:04 msmith Exp $ */ #include @@ -602,15 +602,6 @@ linux_ioctl(struct proc *p, struct linux_ioctl_args *args, int *retval) * Note that we don't actually respect the name in the ifreq structure, as * Linux interface names are all different */ -#ifdef DEBUG - { - char ifname[LINUX_IFNAMSIZ]; - - if (!copyin(ifname, (caddr_t)ifr->ifr_name, LINUX_IFNAMSIZ)) { - printf("linux_ioctl: get HW address for '%s'\n", ifname); - } - } -#endif for (ifn = 0; ifn < if_index; ifn++) {