Staging: ccree: Merge assignment with return
authorSrishti Sharma <srishtishar@gmail.com>
Sat, 9 Sep 2017 07:48:51 +0000 (13:18 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 17 Sep 2017 14:35:26 +0000 (16:35 +0200)
commit63fcb0ce01ce43ba41474b483a090a4a4c6fc11b
tree69044efbb8b1dd466f10393c9ec6192ed044b318
parent9ba7bdc9d97e99f0b21442fd7a1eee320de83b9b
Staging: ccree: Merge assignment with return

Merge the assignment and the return statements to return the value
directly. Done using coccinelle.

@@
local idexpression ret;
expression e;
@@

-ret =
+return
     e;
-return ret;

Signed-off-by: Srishti Sharma <srishtishar@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ccree/ssi_aead.c