diff options
author | Meghana Madhyastha <meghana.madhyastha@gmail.com> | 2017-09-15 12:34:30 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-09-18 12:00:07 +0200 |
commit | e2614ef1b2ecb3f9f1e17762b01c2b29dbc344aa (patch) | |
tree | e7f48f9edfb5d7520053273b6b642adc094695f5 /lib/genalloc.c | |
parent | 0d27c94abbc073234474baf5eecc05da5423961a (diff) | |
download | linux-stable-e2614ef1b2ecb3f9f1e17762b01c2b29dbc344aa.tar.gz linux-stable-e2614ef1b2ecb3f9f1e17762b01c2b29dbc344aa.tar.bz2 linux-stable-e2614ef1b2ecb3f9f1e17762b01c2b29dbc344aa.zip |
Staging: pi433: Merge assignment with return value
Removes the unnecessary assignment of retval preceding
the return statement.
Detected using the following Coccinelle script:
@@
local idexpression ret;
expression e;
@@
-ret =
+return
e;
-return ret;
Signed-off-by: Meghana Madhyastha <meghana.madhyastha@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/genalloc.c')
0 files changed, 0 insertions, 0 deletions