Re: [PATCH net-next v2] ptp: clockmatrix: remove unnecessary comparison
From: David Miller
Date: Sat Apr 25 2020 - 23:42:01 EST
From: Yang Yingliang <yangyingliang@xxxxxxxxxx>
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@xxxxxxxxxx>
> Signed-off-by: Yang Yingliang <yangyingliang@xxxxxxxxxx>
Applied.