[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/2] remove useless type cast
From: |
Yao Xingtao |
Subject: |
[PATCH 0/2] remove useless type cast |
Date: |
Mon, 22 Jul 2024 05:17:26 -0400 |
Currently the pattern in scripts/coccinelle/typecast.cocci is used to
remove the useless type cast.
Use the following command to find out the use cases and remove the
useless type case:
$ spatch --macro-file scripts/cocci-macro-file.h \
--sp-file ./scripts/coccinelle/typecast.cocci \
--keep-comments --in-place --use-gitgrep --dir .
Yao Xingtao (2):
mips/loongson3_virt: remove useless type cast
nvme/ctrl: remove useless type cast
hw/mips/loongson3_virt.c | 4 ++--
hw/nvme/ctrl.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
--
2.41.0
- [PATCH 0/2] remove useless type cast,
Yao Xingtao <=