diff options
| author | Vihas Makwana <makvihas@gmail.com> | 2022-04-27 22:27:49 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-05-05 23:19:15 +0200 |
| commit | 3136dc602950d4c294bd82991b4eca4b626c87f3 (patch) | |
| tree | 33f6d5fe5962c555a081d8dbd07530807f5fbef9 /tools/perf/scripts/python/libxed.py | |
| parent | staging: r8188eu: remove unused else condition (diff) | |
| download | linux-3136dc602950d4c294bd82991b4eca4b626c87f3.tar.gz linux-3136dc602950d4c294bd82991b4eca4b626c87f3.zip | |
staging: r8188eu: drop redundant check in _rtw_free_mlme_priv
There's a NULL check on pmlmepriv in rtw_mlme.c:112 which makes no sense
as rtw_free_mlme_priv_ie_data() dereferences it unconditionally and it
would have already crashed at this point.
Remove this redundant check.
Signed-off-by: Vihas Makwana <makvihas@gmail.com>
Link: https://lore.kernel.org/r/20220427165748.10584-1-makvihas@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions
