Remove the unused parameter const arch_env_t *env from arch_get_sp_bias().
[libfirm] / ir / be / bearch.c
index 8807b59..a877992 100644 (file)
@@ -108,10 +108,9 @@ void arch_set_frame_entity(ir_node *irn, ir_entity *ent)
        ops->set_frame_entity(irn, ent);
 }
 
-int arch_get_sp_bias(const arch_env_t *env, ir_node *irn)
+int arch_get_sp_bias(ir_node *irn)
 {
        const arch_irn_ops_t *ops = get_irn_ops(irn);
-       (void)env; // TODO remove parameter
        return ops->get_sp_bias(irn);
 }