diff options
| author | Kees Cook <[email protected]> | 2021-08-19 10:45:36 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-08-26 10:41:16 +0200 |
| commit | 6277fbfdd29ca2fbf5da33e3931087b5356c770b (patch) | |
| tree | ae2aab3e4f16773bcff260a8b1c9aa09f67d4ee6 /include/linux | |
| parent | 55cdf7d7b2a187d0c2bcf11ed70e2eeb192713da (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/linux')
0 files changed, 0 insertions, 0 deletions