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

Re: [Xen-devel] [PATCH 5/6] common/gnttab: gnttab_query_size() cleanup



On 15/08/17 14:56, Jan Beulich wrote:
>>>> On 15.08.17 at 14:30, <andrew.cooper3@xxxxxxxxxx> wrote:
>> --- a/xen/common/grant_table.c
>> +++ b/xen/common/grant_table.c
>> @@ -1731,31 +1731,25 @@ gnttab_query_size(
>>      XEN_GUEST_HANDLE_PARAM(gnttab_query_size_t) uop, unsigned int count)
>>  {
>>      struct gnttab_query_size op;
>> -    struct domain *d;
>> -    int rc;
>> +    struct domain *d = NULL;
> There's no need to add an initializer here afaict.

Oh yes - so there isn't.

>  Other than that
> Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>

Thanks.

~Andrew

_______________________________________________
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®.