[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200424.165940.41312930895498895.davem@davemloft.net>
Date: Fri, 24 Apr 2020 16:59:40 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: yangyingliang@...wei.com
Cc: richardcochran@...il.com, min.li.xe@...esas.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next] ptp: idt82p33: remove unnecessary comparison
From: Yang Yingliang <yangyingliang@...wei.com>
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@...wei.com>
> Signed-off-by: Yang Yingliang <yangyingliang@...wei.com>
Applied.
Powered by blists - more mailing lists