summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMartin Kaiser <martin@kaiser.cx>2022-12-30 19:06:36 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-01-17 19:31:22 +0100
commita6b25e291f22c8290203b3426b66c49099688b75 (patch)
treeeddddfcb37d973761eac3d8d96a5292796b17269 /tools/perf/scripts/python
parente263d79eb1a49ac217793cd77817e61ad7843fd8 (diff)
downloadlinux-a6b25e291f22c8290203b3426b66c49099688b75.tar.gz
linux-a6b25e291f22c8290203b3426b66c49099688b75.zip
staging: r8188eu: simplify rtw_make_wlanhdr's error handling
Simplify the error handling in rtw_make_wlanhdr. Exit immediately instead of jumping to the end of the function. We don't have to do any clean-up. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150 Link: https://lore.kernel.org/r/20221230180646.91008-11-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions