commit | 3712c1c2ef2a0cbca633d150e568deb8f63a6f29 | [log] [tgz] |
---|---|---|
author | Yang Yingliang <yangyingliang@huawei.com> | Fri May 08 11:52:08 2020 +0800 |
committer | Jakub Kicinski <kuba@kernel.org> | Fri May 08 22:25:10 2020 -0700 |
tree | 1d7301a29a788a1f0d0a508afcb5236e8650fd2b | |
parent | cf86a086a18095e33e0637cb78cda1fcf5280852 [diff] |
ieee802154: 6lowpan: remove unnecessary comparison 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@huawei.com> Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org> Signed-off-by: Jakub Kicinski <kuba@kernel.org>