summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorNathan Chancellor <nathan@kernel.org>2021-08-13 13:14:18 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-08-16 09:08:47 +0200
commita4adfa836c5289df905af19edc9727fc275dc1a1 (patch)
tree154b7b246f996575df83242f82e7e895923440ab /tools/perf/scripts
parentb38447035aedef5861732dcbf048a0c226073768 (diff)
downloadlinux-a4adfa836c5289df905af19edc9727fc275dc1a1.tar.gz
linux-a4adfa836c5289df905af19edc9727fc275dc1a1.zip
staging: r8188eu: Remove unnecessary ret variable in rtw_drv_init()
ret is unnecessary as both error paths set the same error code so just return that directly. Suggested-by: Fabio M. De Francesco <fmdefrancesco@gmail.com> Reviewed-by: Fabio M. De Francesco <fmdefrancesco@gmail.com> Acked-by: Phillip Potter <phil@philpotter.co.uk> Signed-off-by: Nathan Chancellor <nathan@kernel.org> Link: https://lore.kernel.org/r/20210813201418.4018631-1-nathan@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions