]> git.baikalelectronics.ru Git - kernel.git/commit
staging:rtl8192u: Replace magic number 6 with ETH_ALEN - Style
authorJohn Whitmore <johnfwhitmore@gmail.com>
Wed, 8 Aug 2018 21:00:24 +0000 (22:00 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Aug 2018 17:17:07 +0000 (19:17 +0200)
commitaeb014ee1e4df46d39ae922d372a9bb97044b015
treeb0eda155b4097f42482dfa858c374948083fd34f
parenta7f13afa6eb9acb684320f50ac95f9db44a1f8f9
staging:rtl8192u: Replace magic number 6 with ETH_ALEN - Style

The array size 6 represents the length of an Ethernet address so the
magic number has been replaced with the defined constant representing
that length.

This is a coding style change which should not impact runtime code
execution.

Signed-off-by: John Whitmore <johnfwhitmore@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/ieee80211/dot11d.h