diff --git a/sys/amd64/linux32/linux32_machdep.c b/sys/amd64/linux32/linux32_machdep.c index 9983e1fcd6fa..7a7ce0801040 100644 --- a/sys/amd64/linux32/linux32_machdep.c +++ b/sys/amd64/linux32/linux32_machdep.c @@ -927,7 +927,6 @@ linux_mmap_common(struct thread *td, struct l_mmap_argv *linux_args) bsd_args.len = linux_args->len; } bsd_args.pos = (off_t)linux_args->pgoff * PAGE_SIZE; - bsd_args.pad = 0; #ifdef DEBUG if (ldebug(mmap)) @@ -1153,7 +1152,6 @@ linux_ftruncate64(struct thread *td, struct linux_ftruncate64_args *args) #endif sa.fd = args->fd; - sa.pad = 0; sa.length = args->length; return ftruncate(td, &sa); } diff --git a/sys/compat/linux/linux_file.c b/sys/compat/linux/linux_file.c index 1989e194bab8..5833b39603e0 100644 --- a/sys/compat/linux/linux_file.c +++ b/sys/compat/linux/linux_file.c @@ -835,7 +835,6 @@ linux_ftruncate(struct thread *td, struct linux_ftruncate_args *args) } */ nuap; nuap.fd = args->fd; - nuap.pad = 0; nuap.length = args->length; return (ftruncate(td, &nuap)); } diff --git a/sys/i386/linux/linux_machdep.c b/sys/i386/linux/linux_machdep.c index 75ccd3ed6cbc..72c1a33a89da 100644 --- a/sys/i386/linux/linux_machdep.c +++ b/sys/i386/linux/linux_machdep.c @@ -778,7 +778,6 @@ linux_mmap_common(struct thread *td, struct l_mmap_argv *linux_args) bsd_args.len = linux_args->len; } bsd_args.pos = linux_args->pgoff; - bsd_args.pad = 0; #ifdef DEBUG if (ldebug(mmap)) @@ -1076,7 +1075,6 @@ linux_ftruncate64(struct thread *td, struct linux_ftruncate64_args *args) #endif sa.fd = args->fd; - sa.pad = 0; sa.length = args->length; return ftruncate(td, &sa); }