Re: [PATCH] vdpa: Avoid duplicate call to vp_vdpa get_status

2021-11-05 Thread Stefano Garzarella
On Thu, Nov 04, 2021 at 08:58:33PM +0100, Eugenio Pérez wrote: It has no sense to call get_status twice, since we already have a variable for that. Signed-off-by: Eugenio Pérez --- drivers/vhost/vdpa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/vhost/vdpa.c b/dri

Re: [PATCH] vdpa: Avoid duplicate call to vp_vdpa get_status

2021-11-04 Thread Jason Wang
On Fri, Nov 5, 2021 at 3:58 AM Eugenio Pérez wrote: > > It has no sense to call get_status twice, since we already have a > variable for that. > > Signed-off-by: Eugenio Pérez Acked-by: Jason Wang > --- > drivers/vhost/vdpa.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --