diff options
| author | Arnd Bergmann <[email protected]> | 2017-08-23 15:22:51 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-08-23 16:26:10 -0700 |
| commit | a084cda42ece32c83c190db0681f4675d9c41021 (patch) | |
| tree | ade3cf8d9ee1ef51e13c4b6a5488f8c1d4c7ae22 /tools/perf/scripts/python/compaction-times.py | |
| parent | e4f857f739fbd15fd36f10e7caab95779c1dc1e4 (diff) | |
staging: rtlwifi: shut up -Wmaybe-uninitialized warning
This function contains a series of interdependent conditions,
slightly more than gcc can follow handle apparently:
drivers/staging/rtlwifi/base.c: In function 'rtl_check_beacon_key':
drivers/staging/rtlwifi/base.c:2546:34: error: 'ht_cap_ie' may be used uninitialized in this function [-Werror=maybe-uninitialized]
This moves the code around a bit, to simplify the conditions
enough that gcc can see that all variables are correctly
initialized.
Fixes: 56bde846304e ("staging: r8822be: Add existing rtlwifi and rtl_pci parts for new driver")
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions