[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20201107154212.71db8d96@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Sat, 7 Nov 2020 15:42:12 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: xiakaixu1987@...il.com
Cc: irusskikh@...vell.com, andrew@...n.ch, davem@...emloft.net,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
Kaixu Xia <kaixuxia@...cent.com>
Subject: Re: [PATCH] net: atlantic: Remove unnecessary conversion to bool
On Fri, 6 Nov 2020 10:57:59 +0800 xiakaixu1987@...il.com wrote:
> - cfg->is_qos = (tcs != 0 ? true : false);
> + cfg->is_qos = (tcs != 0);
!!tcs
Powered by blists - more mailing lists