diff options
| author | Larry Finger <Larry.Finger@lwfinger.net> | 2017-08-31 09:48:59 -0500 |
|---|---|---|
| committer | Kalle Valo <kvalo@codeaurora.org> | 2017-09-20 15:41:47 +0300 |
| commit | 0f61953dd0f5fbed6ac833f58dc590293b7569b0 (patch) | |
| tree | 34877bd2c00bebb80fabe68bcdc0c3f5d672f27f /tools/perf/scripts/python | |
| parent | b43legacy: fix unitialized reads of ret by initializing the array to zero (diff) | |
| download | linux-0f61953dd0f5fbed6ac833f58dc590293b7569b0.tar.gz linux-0f61953dd0f5fbed6ac833f58dc590293b7569b0.zip | |
rtlwifi: btcoexist: 23b 1ant: fix duplicated code for different branches
A typo led to this issue, which was detected with the help of Coccinelle.
In addition to fixing the error, the code is refactored to eliminate an
if statement.
Addresses-Coverity-ID: 1226788
Reported-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Ping-Ke Shih <pkshih@realtek.com>
Cc: Yan-Hsuan Chuang <yhchuang@realtek.com>
Cc: Birming Chiu <birming@realtek.com>
Cc: Shaofu <shaofu@realtek.com>
Cc: Steven Ting <steventing@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
