summaryrefslogtreecommitdiff
path: root/lib/ts_bm.c
diff options
context:
space:
mode:
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>2015-10-26 17:55:59 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-27 07:58:00 (GMT)
commitb85f3d4e58379e523b06d9725f26f0a0566a1727 (patch)
tree7beda03a68a9de26c977c0a52d8e644e1747a57a /lib/ts_bm.c
parentf0d97eb5c0c889fc68eb97885d488c3842e296da (diff)
downloadlinux-b85f3d4e58379e523b06d9725f26f0a0566a1727.tar.xz
staging: rtl8712: Remove unnecessary variables
Remove unnecessary variables that can be replaced with a single line of code. The semantic patch used to find this is: // <smpl> @@ expression ret; @@ - if (ret) return ret; - return 0; + return ret; @@ local idexpression ret; expression e; @@ - ret = e; - return ret; + return e; @@ type T; identifier i; expression E; @@ - T i = E; ... when != i @@ type T; identifier i; @@ - T i; ... when != i // </smpl> Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/ts_bm.c')
0 files changed, 0 insertions, 0 deletions