Simran Singhal b3ac2b94cd Compress lines for immediate return
Compress two lines into a single line if immediate return statement is found.

It also remove variables progress, val, data, ret and sock
as they are no longer needed.

Remove space between function "mixer_load" and '(' to fix the
checkpatch.pl error:-
ERROR: space prohibited between function name and open parenthesis '('

Done using following coccinelle script:
@@
local idexpression ret;
expression e;
@@

-ret =
+return
     e;
-return ret;

Signed-off-by: Simran Singhal <singhalsimran0@gmail.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20200401165314.GA3213@simran-Inspiron-5558>
[lv: in handle_aiocb_write_zeroes_unmap() move "int ret" inside the #ifdef]
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
2020-05-04 14:43:22 +02:00
..
2017-10-17 10:25:42 +02:00
2019-03-11 08:39:02 +01:00
2019-09-17 13:42:02 +02:00
2019-09-17 13:42:02 +02:00
2020-05-04 14:43:22 +02:00
2019-08-16 13:31:52 +02:00
2020-01-02 13:54:57 +04:00
2017-07-27 14:23:09 +02:00
2019-08-16 13:31:52 +02:00
2016-02-04 17:01:04 +00:00
2019-02-05 16:50:18 +01:00