summaryrefslogtreecommitdiffhomepage
path: root/ir/be/besched.h
diff options
context:
space:
mode:
authorChristoph Mallon <mallon@cs.uni-saarland.de>2014-12-25 17:44:41 +0100
committerChristoph Mallon <mallon@cs.uni-saarland.de>2014-12-26 22:20:54 +0100
commit0847bca8026d81f8843a57fed7bc6fc3a9ffc8fe (patch)
tree1355863d3810b69582b3f2c163949d87e93a0d81 /ir/be/besched.h
parent3d490e36f41406d020a775fae85ff16e7d404d0f (diff)
be: Remove the unused function sched_reset().
Resetting a node's schedule info and not properly removing it from the schedule is questionable anyway.
Diffstat (limited to 'ir/be/besched.h')
-rw-r--r--ir/be/besched.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/ir/be/besched.h b/ir/be/besched.h
index f450896..27ec68e 100644
--- a/ir/be/besched.h
+++ b/ir/be/besched.h
@@ -126,13 +126,6 @@ static inline void sched_init_block(ir_node *block)
info->prev = block;
}
-static inline void sched_reset(ir_node *node)
-{
- sched_info_t *info = get_irn_sched_info(node);
- info->next = NULL;
- info->prev = NULL;
-}
-
/**
* Remove a node from the scheduled.
* @param irn The node.