[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200508222655.71369682@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Fri, 8 May 2020 22:26:55 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Stefan Schmidt <stefan@...enfreihafen.org>,
Yang Yingliang <yangyingliang@...wei.com>
Cc: alex.aring@...il.com, davem@...emloft.net, netdev@...r.kernel.org,
linux-wpan@...r.kernel.org
Subject: Re: [PATCH net-next] ieee802154: 6lowpan: remove unnecessary
comparison
On Fri, 8 May 2020 17:09:43 +0200 Stefan Schmidt wrote:
>On 08.05.20 05:52, Yang Yingliang wrote:
> > The type of dispatch is u8 which is always '<=' 0xff, so the
> > dispatch <= 0xff is always true, we can remove this comparison.
> >
> > Reported-by: Hulk Robot <hulkci@...wei.com>
> > Signed-off-by: Yang Yingliang <yangyingliang@...wei.com>
>
> This looks good to me. Thanks for fixing this.
>
> Signed-off-by: Stefan Schmidt <stefan@...enfreihafen.org>
>
> Dave, can you apply this directly to your net tree? I have no other
> ieee802154 fixes pending to fill a pull request.
I'm sitting in for Dave today, applied to net-next, thank you!
Powered by blists - more mailing lists