From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57092) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bG2Pk-0000TD-8I for qemu-devel@nongnu.org; Thu, 23 Jun 2016 07:03:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bG2Pf-0004Aw-9P for qemu-devel@nongnu.org; Thu, 23 Jun 2016 07:03:16 -0400 References: <1466007277-17525-1-git-send-email-lvivier@redhat.com> From: Laurent Vivier Message-ID: <2ea3a8f3-087e-4aca-cd22-289b931a1885@redhat.com> Date: Thu, 23 Jun 2016 13:03:05 +0200 MIME-Version: 1.0 In-Reply-To: <1466007277-17525-1-git-send-email-lvivier@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 0/7] Remove useless casts List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-trivial@nongnu.org, qemu-devel@nongnu.org Ping? Laurent On 15/06/2016 18:14, Laurent Vivier wrote: > This series is the result of the following coccinelle script: > > @@ > type T; > T v; > @@ > - (T *)&v > + &v > > This script removes the cast of a variable when the variable > is already of the casting type. > > The script is added in scripts/coccinelle by the first patch. > > Laurent Vivier (7): > coccinelle: add a script to remove useless casts > linux-user,s390x: remove useless cast > s390x: remove useless cast > tricore: remove useless cast > fw_cfg: remove useless casts > crypto: remove useless casts > sheepdog: remove useless casts > > block/sheepdog.c | 4 ++-- > crypto/cipher-builtin.c | 4 ++-- > hw/nvram/fw_cfg.c | 4 ++-- > hw/s390x/sclp.c | 2 +- > hw/tricore/tricore_testboard.c | 2 +- > linux-user/signal.c | 2 +- > scripts/coccinelle/typecast.cocci | 7 +++++++ > 7 files changed, 16 insertions(+), 9 deletions(-) > create mode 100644 scripts/coccinelle/typecast.cocci >