Skip to content
Commit fe5fcefc authored by Liu Shixin's avatar Liu Shixin Committed by Greg Kroah-Hartman
Browse files

staging: rtl8188eu: Use is_{zero/broadcast}_ether_addr() instead of memcmp()



Simplify the code by using is_{zero/broadcast}_ether_addr() instead of
directly using memcmp() to determine if the ethernet address is all
zeros or broadcast address.

Signed-off-by: default avatarLiu Shixin <liushixin2@huawei.com>
Link: https://lore.kernel.org/r/20210609085650.1269008-1-liushixin2@huawei.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5697686e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment