diff options
Diffstat (limited to 'arch/um')
| -rw-r--r-- | arch/um/drivers/vector_kern.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/um/drivers/vector_kern.c b/arch/um/drivers/vector_kern.c index 5434c87542e5..2cc90055499a 100644 --- a/arch/um/drivers/vector_kern.c +++ b/arch/um/drivers/vector_kern.c @@ -544,11 +544,9 @@ static struct vector_queue *create_queue( result->max_iov_frags = num_extra_frags; for (i = 0; i < max_size; i++) { if (vp->header_size > 0) - iov = kmalloc_objs(struct iovec, 3 + num_extra_frags, - GFP_KERNEL); + iov = kmalloc_objs(struct iovec, 3 + num_extra_frags); else - iov = kmalloc_objs(struct iovec, 2 + num_extra_frags, - GFP_KERNEL); + iov = kmalloc_objs(struct iovec, 2 + num_extra_frags); if (iov == NULL) goto out_fail; mmsg_vector->msg_hdr.msg_iov = iov; |
