Skip to content
Commit 3712c1c2 authored by Yang Yingliang's avatar Yang Yingliang Committed by Jakub Kicinski
Browse files

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: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: default avatarStefan Schmidt <stefan@datenfreihafen.org>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent cf86a086
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment