summaryrefslogtreecommitdiffstats
path: root/drivers/usb/misc/idmouse.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <garsilva@embeddedor.com>2017-07-10 05:31:31 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-07-17 13:13:44 +0200
commite6f9e13b62bad739a9fc095e061dc9fc8cf4168c (patch)
treef82bf317da783faac16c1645d556b6aa4275dec8 /drivers/usb/misc/idmouse.c
parentusb: isp1760: compress return logic into one line (diff)
downloadlinux-e6f9e13b62bad739a9fc095e061dc9fc8cf4168c.tar.xz
linux-e6f9e13b62bad739a9fc095e061dc9fc8cf4168c.zip
usb: misc: sisusbvga: compress return logic into one line
Simplify return logic to avoid unnecessary variable declaration and assignment. These issues were detected using Coccinelle and the following semantic patch: @@ local idexpression ret; expression e; @@ -ret = +return e; -return ret; Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/misc/idmouse.c')
0 files changed, 0 insertions, 0 deletions