lkml.org 
[lkml]   [2020]   [Nov]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] net: atlantic: Remove unnecessary conversion to bool
On Fri,  6 Nov 2020 10:57:59 +0800 xiakaixu1987@gmail.com wrote:
> - cfg->is_qos = (tcs != 0 ? true : false);
> + cfg->is_qos = (tcs != 0);

!!tcs

\
 
 \ /
  Last update: 2020-11-08 00:42    [W:0.028 / U:2.788 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site