On Wed, Oct 01, 2014 at 04:02:35PM -0700, Jarno Rajahalme wrote:
> We already update the count field as the last step of these functions,
> so returning the current count is very cheap.  Callers that care about
> the count become a bit more efficient, as they avoid extra
> non-inlineable function call.
> 
> Signed-off-by: Jarno Rajahalme <[email protected]>

I would update the function comments to describe the return value.

Acked-by: Ben Pfaff <[email protected]>
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to