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