OpenCloudOS-Kernel/drivers/net/wireless/realtek/rtlwifi/rtl8192se
Dan Carpenter 2f8514b8b0 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 <dan.carpenter@oracle.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2016-05-11 21:51:45 +03:00
..
Makefile
def.h
dm.c
dm.h
fw.c
fw.h
hw.c
hw.h
led.c
led.h
phy.c rtlwifi: rtl8192se: Fix Smatch warning 2016-04-06 21:36:24 +03:00
phy.h
reg.h
rf.c rtlwifi: rtl818x: silence uninitialized variable warning 2016-05-11 21:51:45 +03:00
rf.h
sw.c
sw.h
table.c
table.h
trx.c
trx.h