]> git.baikalelectronics.ru Git - kernel.git/commit
staging:rtl8192u: Remove union from aci_aifsn - Style
authorJohn Whitmore <johnfwhitmore@gmail.com>
Tue, 31 Jul 2018 20:59:53 +0000 (21:59 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Aug 2018 07:46:00 +0000 (09:46 +0200)
commit1a537ad55e5aecd1a76ba3e0962444642cf216cd
treec022c144dae48d4406bc0fe0644025957b98efd8
parent8160f74ce5fc8cd0492b0ca7a3e7fe498df0f46e
staging:rtl8192u: Remove union from aci_aifsn - Style

The union aci_aifsn is not used as a union, but only as a struct.
The union seems to have been used to ensure that the size of the
structure was only a single byte. That size is set by the bitfield
structure, adding a union with an unused byte adds nothing.

The union has been removed. This is a coding style change and
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/rtl819x_Qos.h
drivers/staging/rtl8192u/r8192U_dm.c