staging:rtl8192u: Remove macro eqMacAddr - Style
authorJohn Whitmore <johnfwhitmore@gmail.com>
Wed, 8 Aug 2018 21:00:22 +0000 (22:00 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Aug 2018 17:17:07 +0000 (19:17 +0200)
commit9391bea9ad4e7d4b3ad5748c080061bafcb1693f
tree67494c2679400013374843c10507506ef3b5e792
parentd947dddf1c95122f5a6e2de19b4483c7ba74aeca
staging:rtl8192u: Remove macro eqMacAddr - Style

The macro eqMacAddr implements the same functionality as the
ether_addr_equal function defined in etherdevice.h, as a result the
macro has been removed from the code, and its use replaced with the
function call.

Note that to use the ether_addr_equal function the data array
containing the MAC Address has to be u16 aligned. Because of this the
struct rt_dot11d_info has had it's member variables re-ordered.

This is a coding style change which should have no impact on runtime
code execution.

Suggested-by: Joe Perches <joe@perches.com>
Signed-off-by: John Whitmore <johnfwhitmore@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/ieee80211/dot11d.h
drivers/staging/rtl8192u/r8192U_core.c