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
> 

Reply via email to