aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2011-03-25 11:05:28 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2011-03-25 11:05:28 +0000
commitf991044ba498ab5069b310f3ed25047199b44fdb (patch)
treea424e1f744b2f229a21929e3847451e69e1c0886
parent1e67ebb1a2a140846faac3e0c54e0aa62f5c7e17 (diff)
Notes
-rw-r--r--sys/compat/freebsd32/freebsd32_ioctl.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/compat/freebsd32/freebsd32_ioctl.c b/sys/compat/freebsd32/freebsd32_ioctl.c
index 04debd899054..3fcc418370fa 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);