diff options
| author | Kang Minchul <tegongkang@gmail.com> | 2022-10-26 02:06:19 +0900 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-10-31 09:05:17 +0100 |
| commit | f67469fe658a484f8c000bfcf66a191417bd6e30 (patch) | |
| tree | b9a1089b807ea681178fcc0f2903f2d3927160f4 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | staging: r8188eu: remove unnecessary variable in ioctl_linux (diff) | |
| download | linux-f67469fe658a484f8c000bfcf66a191417bd6e30.tar.gz linux-f67469fe658a484f8c000bfcf66a191417bd6e30.zip | |
staging: r8188eu: remove unnecessary vaiable in rtw_recv
Return _SUCCESS directly instead of storing it in a variable.
This can prevent cocci warning as follows:
Unneeded variable: "ret". Return "_SUCCESS" on line 1516
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150
Signed-off-by: Kang Minchul <tegongkang@gmail.com>
Link: https://lore.kernel.org/r/20221025170621.271903-3-tegongkang@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
