Re: [PATCH net-next] ptp: idt82p33: remove unnecessary comparison
From: David Miller
Date: Fri Apr 24 2020 - 19:59:42 EST
From: Yang Yingliang <yangyingliang@xxxxxxxxxx>
Date: Fri, 24 Apr 2020 16:03:48 +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.