summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorSimran Singhal2020-04-01 18:53:14 +0200
committerLaurent Vivier2020-05-04 14:43:22 +0200
commitb3ac2b94cdc939a90d5a22338ae507689e2cfab0 (patch)
tree4586d31cee093411409945cdf2804f99ac93c5a2 /docs
parentchardev: Add macOS to list of OSes that support -chardev serial (diff)
downloadqemu-b3ac2b94cdc939a90d5a22338ae507689e2cfab0.tar.gz
qemu-b3ac2b94cdc939a90d5a22338ae507689e2cfab0.tar.xz
qemu-b3ac2b94cdc939a90d5a22338ae507689e2cfab0.zip
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>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions