staging: rtl8188eu: Compress two statements into one.
authorNavya Sri Nizamkari <navyasri.tech@gmail.com>
Fri, 27 Feb 2015 20:36:44 +0000 (02:06 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Mar 2015 00:22:52 +0000 (16:22 -0800)
commit25034ff83c25c8d1a114e3219fbf6c7b5a006622
tree910c3f001a36648ec1993b81c73156cb3121b676
parent3fe90658016577b1aee33dd183cd1098792cebd9
staging: rtl8188eu: Compress two statements into one.

This patch removes the use of a variable used only for
returning a value. The following coccinelle script was
used to discover it:

@@
expression ret;
identifier f;
@@

-ret =
+return
     f(...);
     -return ret;

It also fixes the checkpatch.pl warning about line being over
80 characters, in the lines where changes were made.

Signed-off-by: Navya Sri Nizamkari <navyasri.tech@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c