diff options
author | Dan Carpenter <[email protected]> | 2016-05-04 09:16:39 +0300 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2016-05-11 21:51:45 +0300 |
commit | 2f8514b8b03643a598706bf88214b10153324d11 (patch) | |
tree | a887bebdeb00585537524063de869f0c1d584df4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 30cfe9f61c2e78b55b33c780bc0a57f9adb00e62 (diff) |
rtlwifi: rtl818x: silence uninitialized variable warning
What about if "rtlphy->pwrgroup_cnt" is 2? In that case we would use an
uninitialized "chnlgroup" variable and probably crash. Maybe that can't
happen for some reason which is not obvious but in that case this patch
is harmless.
Setting it to zero seems like a standard default in the surrounding code
so it's probably fine here as well.
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions