diff options
| author | Haowen Bai <[email protected]> | 2022-03-30 09:28:59 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-04-04 07:33:47 +0200 |
| commit | e327cf83db4985a80c8c533bb7b0adf3eee87f1a (patch) | |
| tree | cbe4cf82283de621bfcf5cc8cb5acde8652ba2b3 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 18ce31aa638d52139b38496c1d53f536a8f06811 (diff) | |
staging: r8188eu: Directly return _SUCCESS instead of using local ret variable
As init_mlme_ext_priv function always returns SUCCESS , We can change
return type from int to void.
fixes coccinelle warning:
./drivers/staging/r8188eu/core/rtw_mlme_ext.c:357:5-8: Unneeded variable: "res".
Return "_SUCCESS" on line 380
Reviewed-by: Dan Carpenter <[email protected]>
Signed-off-by: Haowen Bai <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions