summaryrefslogtreecommitdiff
path: root/drivers/staging/rtl8712/xmit_linux.c
diff options
context:
space:
mode:
authorWambui Karuga <wambui.karugax@gmail.com>2019-10-13 01:19:15 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-10-14 15:36:54 +0200
commitf89c7d575d7c8b92c53e5472d90d542bbdeb47f6 (patch)
treef8c08d5f7a4bc96c644da90542d64e45b5c2b462 /drivers/staging/rtl8712/xmit_linux.c
parent180245d2d01686f61b3d1909bdf349a6d153008b (diff)
staging: rtl8712: remove unnecessary return variables
Remove variables that are only used to hold and return constants and have the functions directly return the constants. Issue found by coccinelle: @@ local idexpression ret; expression e; @@ -ret = +return e; -return ret; Signed-off-by: Wambui Karuga <wambui.karugax@gmail.com> Link: https://lore.kernel.org/r/f61a0f036af24228c682c6b12c3a8e6cf6736185.1570918228.git.wambui.karugax@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8712/xmit_linux.c')
0 files changed, 0 insertions, 0 deletions