diff options
| author | Yang Yingliang <yangyingliang@huawei.com> | 2020-04-24 16:03:48 +0800 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2020-04-24 16:59:21 -0700 |
| commit | 6033cebdfff9b10192eb254e8cc60fedd595ea7f (patch) | |
| tree | 37bc88123a2c0841552559f92e22afb4171a29e7 /net/dsa | |
| parent | 5d7163a117876f95f44f6f9fb9f028daead42243 (diff) | |
| download | net-6033cebdfff9b10192eb254e8cc60fedd595ea7f.tar.gz | |
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/dsa')
0 files changed, 0 insertions, 0 deletions
