search for: b23d1b74c32f

Displaying 1 result from an estimated 1 matches for "b23d1b74c32f".

2019 Dec 18
0
[PATCH 1/1] drivers/vhost : Removes unnecessary 'else' in vhost_copy_from_user
...igned-off-by: Leonardo Bras <leonardo at linux.ibm.com> > --- > drivers/vhost/vhost.c | 50 +++++++++++++++++++++---------------------- > 1 file changed, 24 insertions(+), 26 deletions(-) > > diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c > index f44340b41494..b23d1b74c32f 100644 > --- a/drivers/vhost/vhost.c > +++ b/drivers/vhost/vhost.c > @@ -824,34 +824,32 @@ static int vhost_copy_from_user(struct vhost_virtqueue *vq, void *to, > > if (!vq->iotlb) > return __copy_from_user(to, from, size); > - else { > - /* This function shoul...