aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2021-08-19 10:45:36 -0700
committerGreg Kroah-Hartman <[email protected]>2021-08-26 10:41:16 +0200
commit6277fbfdd29ca2fbf5da33e3931087b5356c770b (patch)
treeae2aab3e4f16773bcff260a8b1c9aa09f67d4ee6 /include
parent55cdf7d7b2a187d0c2bcf11ed70e2eeb192713da (diff)
staging: wlan-ng: Remove pointless a3/a4 union
There is no need for the a3/a4 union. The two structs are identical except for the addition of a4. Excepting one place, the structs are only ever used in the union, and the union is always allocated at full size. The one instance of the a3-specific struct can be replaced with the full version, as no sizing information is used. Replace the union with the a4 version of the struct. "diffoscope" reports there are no object code differences after this change. Cc: Allen Pais <[email protected]> Cc: Romain Perier <[email protected]> Cc: Chen Lin <[email protected]> Cc: Ivan Safonov <[email protected]> Cc: Arnd Bergmann <[email protected]> Cc: [email protected] Signed-off-by: Kees Cook <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions