Subject: Re: [PATCH net-next v10] openvswitch: enable NSH support

From: Jiri Benc <[email-masked]>
Date: Tue, 26 Sep 2017 16:42:40 +0200

On Tue, 26 Sep 2017 21:52:41 +0800, Yang, Yi wrote:
> > +	return ((ret != 0) ? false : true);
> 
> But I don't think this is a problematic line from my understanding,

Why not:

	return ((ret != 0 == true) ? false : true) == true;

?

Sigh. This is equal to:

	return !ret;

which you should use.

 Jiri