diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2020-04-24 10:03:48 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-04-25 01:59:21 +0200 |
commit | 6033cebdfff9b10192eb254e8cc60fedd595ea7f (patch) | |
tree | 37bc88123a2c0841552559f92e22afb4171a29e7 /net/x25/x25_dev.c | |
parent | net: ipv6: remove unused inline function ip6_set_txhash (diff) | |
download | linux-6033cebdfff9b10192eb254e8cc60fedd595ea7f.tar.xz linux-6033cebdfff9b10192eb254e8cc60fedd595ea7f.zip |
ptp: idt82p33: remove unnecessary comparison
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@huawei.com>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/x25/x25_dev.c')
0 files changed, 0 insertions, 0 deletions