xref: /openbmc/qemu/scripts/coccinelle/typecast.cocci (revision d88b51dc26c0e29d012f52d0215ebef29329ca87)
1// Remove useless casts
2@@
3type T;
4T v;
5@@
6-	(T *)&v
7+	&v
8