Received: from eggs.gnu.org ([2001:4830:134:3::10]:48157) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ez2pc-0001jH-Ja for qemu-devel@nongnu.org; Thu, 22 Mar 2018 12:12:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ez2pY-00074n-L5 for qemu-devel@nongnu.org; Thu, 22 Mar 2018 12:12:48 -0400 From: Laurent Vivier Date: Thu, 22 Mar 2018 17:12:22 +0100 Message-Id: <20180322161226.29796-1-lvivier@redhat.com> Subject: [Qemu-devel] [PATCH 0/4] coccinelle: re-run scripts from scripts/coccinelle List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Peter Crosthwaite , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , "Dr. David Alan Gilbert" , Paolo Bonzini , David Gibson , Kevin Wolf , Richard Henderson , qemu-arm@nongnu.org, Eric Blake , Jason Wang , Max Reitz , Fam Zheng , qemu-trivial@nongnu.org, Alexander Graf , qemu-ppc@nongnu.org, Peter Maydell , Alberto Garcia , qemu-block@nongnu.org, Igor Mitsyanko , Yongbok Kim , "Michael S. Tsirkin" , Aurelien Jarno , Eduardo Habkost , Max Filippov , Markus Armbruster , Laurent Vivier I've re-run some scripts from the coccinelle directory, and they have found some problems. This series fixes them. Laurent Vivier (4): error: Strip trailing '\n' from error string arguments (again again) error: Remove NULL checks on error_propagate() calls qdict: remove useless cast Remove unnecessary variables for function return value accel/tcg/translate-all.c | 5 +- block/nvme.c | 11 ++--- block/quorum.c | 6 +-- hw/arm/exynos4210.c | 7 +-- hw/block/vhost-user-blk.c | 5 +- hw/hppa/dino.c | 5 +- hw/misc/mos6522.c | 6 +-- hw/net/ftgmac100.c | 5 +- hw/ppc/pnv_lpc.c | 14 +----- io/channel-websock.c | 4 +- io/net-listener.c | 6 +-- monitor.c | 2 +- target/i386/hax-darwin.c | 10 ++-- target/i386/hvf/hvf.c | 24 +++++----- target/mips/dsp_helper.c | 15 ++---- target/xtensa/core-dc232b/xtensa-modules.c | 56 ++++++---------------- target/xtensa/core-dc233c/xtensa-modules.c | 56 ++++++---------------- target/xtensa/core-de212/xtensa-modules.c | 48 +++++-------------- target/xtensa/core-fsf/xtensa-modules.c | 32 ++++--------- .../xtensa/core-sample_controller/xtensa-modules.c | 24 +++------- target/xtensa/translate.c | 5 +- tests/m48t59-test.c | 6 +-- tests/test-thread-pool.c | 6 +-- util/uri.c | 5 +- 24 files changed, 94 insertions(+), 269 deletions(-) -- 2.14.3