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

Re: [Xen-devel] [PATCH][next] xen/gntdev: remove redundant non-zero check on ret



On 11.11.19 13:31, Colin Ian King wrote:
On 11/11/2019 12:25, Jürgen Groß wrote:
On 11.11.19 13:20, Colin King wrote:
From: Colin Ian King <colin.king@xxxxxxxxxxxxx>

The non-zero check on ret is always going to be false because
ret was initialized as zero and the only place it is set to
non-zero contains a return path before the non-zero check. Hence
the check is redundant and can be removed.

Which version did you patch against? In current master the above
statement is not true.

against today's linux-next

Ah, okay, this is likely the result of the recent mm-notifier patch
series. I'll put this patch on hold until the recent patches have
hit master.


Juergen

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

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