[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200425.204158.1357076098544552662.davem@davemloft.net>
Date: Sat, 25 Apr 2020 20:41:58 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: yangyingliang@...wei.com
Cc: richardcochran@...il.com, vincent.cheng.xh@...esas.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next v2] ptp: clockmatrix: remove unnecessary
comparison
From: Yang Yingliang <yangyingliang@...wei.com>
Date: Fri, 24 Apr 2020 20:52:26 +0800
> The type of loaddr is u8 which is always '<=' 0xff, so the
> loaddr <= 0xff is always true, we can remove this comparison.
>
> Reported-by: Hulk Robot <hulkci@...wei.com>
> Signed-off-by: Yang Yingliang <yangyingliang@...wei.com>
Applied.
Powered by blists - more mailing lists