summaryrefslogtreecommitdiffhomepage
path: root/ir/be/becopyopt_t.h
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2012-07-13 08:09:17 +0200
committerChristoph Mallon <christoph.mallon@gmx.de>2012-07-13 23:03:54 +0200
commit79cf43c4fffc8bb8e59cbb6066273d91140bfc1b (patch)
tree9ee7bedec5e3dcb59c0185b6db456760f0ed530e /ir/be/becopyopt_t.h
parent31a94f37b692bfab97bebf48ba6d667c16956835 (diff)
Remove pointless casts.
The expressions have that type.
Diffstat (limited to 'ir/be/becopyopt_t.h')
-rw-r--r--ir/be/becopyopt_t.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/be/becopyopt_t.h b/ir/be/becopyopt_t.h
index b450ebe..ec61973 100644
--- a/ir/be/becopyopt_t.h
+++ b/ir/be/becopyopt_t.h
@@ -153,6 +153,6 @@ static inline affinity_node_t *get_affinity_info(const copy_opt_t *co, const ir_
#define co_gs_nodes_next(co) set_next((co)->nodes)
#define co_gs_foreach_aff_node(co, aff_node) for (aff_node = (affinity_node_t*)co_gs_nodes_begin(co); aff_node != NULL; aff_node = (affinity_node_t*)co_gs_nodes_next(co))
-#define co_gs_foreach_neighb(aff_node, neighb) for (neighb = (neighb_t*)aff_node->neighbours; neighb != NULL; neighb = (neighb_t*)neighb->next)
+#define co_gs_foreach_neighb(aff_node, neighb) for (neighb = aff_node->neighbours; neighb != NULL; neighb = neighb->next)
#endif /* FIRM_BE_BECOPYOPT_T_H */