summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorHaowen Bai <baihaowen@meizu.com>2022-03-30 09:28:59 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-04-04 07:33:47 +0200
commite327cf83db4985a80c8c533bb7b0adf3eee87f1a (patch)
treecbe4cf82283de621bfcf5cc8cb5acde8652ba2b3 /tools/perf/scripts/python/export-to-sqlite.py
parent18ce31aa638d52139b38496c1d53f536a8f06811 (diff)
downloadlinux-e327cf83db4985a80c8c533bb7b0adf3eee87f1a.tar.gz
linux-e327cf83db4985a80c8c533bb7b0adf3eee87f1a.zip
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 <dan.carpenter@oracle.com> Signed-off-by: Haowen Bai <baihaowen@meizu.com> Link: https://lore.kernel.org/r/1648603740-14760-1-git-send-email-baihaowen@meizu.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions