OSDN Git Service

staging:rtl8192u: Replace magic number with defined constant - Style
authorJohn Whitmore <johnfwhitmore@gmail.com>
Sat, 4 Aug 2018 09:18:59 +0000 (10:18 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 5 Aug 2018 14:22:57 +0000 (16:22 +0200)
commit8e0c18d3a114d4ea37140b8245a0543392743ba7
tree1754d8a7a7a0897a9e0287596154402b0a10dc08
parent3750985c8d365618612fa191035b0fb2641b8c68
staging:rtl8192u: Replace magic number with defined constant - Style

Replace the magic number '8' with defined constant which is normally used
'MAX_DEV_ADDR_SIZE'.

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

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