summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorMichael Straube <straube.linux@gmail.com>2018-07-31 14:34:09 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-08-02 10:44:27 +0300
commit8663b2e02c1b5d5767ebaa38f72128658b6da1e9 (patch)
treea97140b74194a795937ed28143259822b45c9e50 /tools/perf/scripts/python/sctop.py
parent328cf8e7790c852fc887ce067e53900f2c423afa (diff)
downloadlinux-8663b2e02c1b5d5767ebaa38f72128658b6da1e9.tar.xz
staging: rtl8188eu: use is_broadcast_ether_addr
Use is_broadcast_ether_addr instead of checking each byte of the address array for 0xff. Shortens the code and improves readability. As required by is_broadcast_ether_addr, the address array sta_addr is properly aligned in all uses. Thanks to Joe Perches. Signed-off-by: Michael Straube <straube.linux@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions