diff options
| author | Liu Shixin <liushixin2@huawei.com> | 2021-06-09 16:56:49 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-06-09 14:27:41 +0200 |
| commit | fe5fcefc9130ce80cda024ab44c7353a67df5cb6 (patch) | |
| tree | 1874e67549db23d4f758f8c8f789c33cdd6939e0 /scripts/gdb/linux | |
| parent | 5697686ed4eda64114b50e6e09d5c647d091b873 (diff) | |
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: Liu Shixin <liushixin2@huawei.com>
Link: https://lore.kernel.org/r/20210609085650.1269008-1-liushixin2@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions
