mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-17 21:26:13 -07:00
Use Coccinelle script to replace 'ret = E; return ret' with 'return E'. The script will do the substitution only when the function return type and variable type are the same. Manual fixups: * audio/audio.c: coding style of "read (...)" and "write (...)" * block/qcow2-cluster.c: wrap line to make it shorter * block/qcow2-refcount.c: change indentation of wrapped line * target-tricore/op_helper.c: fix coding style of "remainder|quotient" * target-mips/dsp_helper.c: reverted changes because I don't want to argue about checkpatch.pl * ui/qemu-pixman.c: fix line indentation * block/rbd.c: restore blank line between declarations and statements Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Message-Id: <1465855078-19435-4-git-send-email-ehabkost@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> [Unused Coccinelle rule name dropped along with a redundant comment; whitespace touched up in block/qcow2-cluster.c; stale commit message paragraph deleted] Signed-off-by: Markus Armbruster <armbru@redhat.com> |
||
|---|---|---|
| .. | ||
| a9gtimer.c | ||
| allwinner-a10-pit.c | ||
| arm_mptimer.c | ||
| arm_timer.c | ||
| aspeed_timer.c | ||
| cadence_ttc.c | ||
| digic-timer.c | ||
| ds1338.c | ||
| etraxfs_timer.c | ||
| exynos4210_mct.c | ||
| exynos4210_pwm.c | ||
| exynos4210_rtc.c | ||
| grlib_gptimer.c | ||
| hpet.c | ||
| i8254.c | ||
| i8254_common.c | ||
| imx_epit.c | ||
| imx_gpt.c | ||
| lm32_timer.c | ||
| m48t59.c | ||
| Makefile.objs | ||
| mc146818rtc.c | ||
| milkymist-sysctl.c | ||
| omap_gptimer.c | ||
| omap_synctimer.c | ||
| pl031.c | ||
| puv3_ost.c | ||
| pxa2xx_timer.c | ||
| sh_timer.c | ||
| slavio_timer.c | ||
| stm32f2xx_timer.c | ||
| twl92230.c | ||
| xilinx_timer.c | ||