From c939abb82d93b96688c04bab0b3837422b246abd Mon Sep 17 00:00:00 2001 From: kib Date: Mon, 28 Mar 2011 08:23:45 +0000 Subject: [PATCH] MFC r219987: Remove unneccessary panics. git-svn-id: svn://svn.freebsd.org/base/stable/8@220093 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- sys/compat/freebsd32/freebsd32_ioctl.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/sys/compat/freebsd32/freebsd32_ioctl.c b/sys/compat/freebsd32/freebsd32_ioctl.c index 04debd899..3fcc41837 100644 --- a/sys/compat/freebsd32/freebsd32_ioctl.c +++ b/sys/compat/freebsd32/freebsd32_ioctl.c @@ -66,8 +66,6 @@ freebsd32_ioctl_md(struct thread *td, struct freebsd32_ioctl_args *uap, u_long com = 0; int error; - if (uap->data == NULL) - panic("%s: where is my ioctl data??", __func__); if (uap->com & IOC_IN) { if ((error = copyin(uap->data, &md32, sizeof(md32)))) { return (error); @@ -132,9 +130,6 @@ freebsd32_ioctl_ioc_toc_header(struct thread *td, struct ioc_toc_header32 toch32; int error; - if (uap->data == NULL) - panic("%s: where is my ioctl data??", __func__); - if ((error = copyin(uap->data, &toch32, sizeof(toch32)))) return (error); CP(toch32, toch, len); @@ -154,9 +149,6 @@ freebsd32_ioctl_ioc_read_toc(struct thread *td, struct ioc_read_toc_entry32 toce32; int error; - if (uap->data == NULL) - panic("%s: where is my ioctl data??", __func__); - if ((error = copyin(uap->data, &toce32, sizeof(toce32)))) return (error); CP(toce32, toce, address_format); -- 2.45.0