Re: [PATCH net-next v4 1/9] xen-netback: Introduce TX grant map definitions

From: Zoltan Kiss
Date: Mon Jan 20 2014 - 11:53:44 EST


On 16/01/14 00:00, Wei Liu wrote:
There is a stray blank line change in xenvif_tx_create_gop. (I removed
that part too early and didn't bother to paste it back...)
Ok, fixed

+static inline bool tx_dealloc_work_todo(struct xenvif *vif)
+{
+ if (vif->dealloc_cons != vif->dealloc_prod)
+ return true;
+
+ return false;

This can be simplified as
return vif->dealloc_cons != vif->dealloc_prod;
Indeed, done.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/