[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 1/2] x86: remove redundant checks in sysctl.c



>>> On 31.08.17 at 10:07, <yi.y.sun@xxxxxxxxxxxxxxx> wrote:
> In sysctl.c, the return value of 'psr_get_info' has been checked immediately.
> So, it is redundant to check the return value again when copy the field to
> guest.
> 

Suggested-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>

> Signed-off-by: Yi Sun <yi.y.sun@xxxxxxxxxxxxxxx>

Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.