This helper is also made unneeded since the introduction of OP_CBR. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx> --- linearize.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/linearize.h b/linearize.h index 2aa255154..bac82d7ff 100644 --- a/linearize.h +++ b/linearize.h @@ -237,10 +237,6 @@ struct basic_block { }; }; -static inline int is_branch_goto(struct instruction *br) -{ - return br && br->opcode==OP_BR && (!br->bb_true || !br->bb_false); -} static inline void add_bb(struct basic_block_list **list, struct basic_block *bb) { -- 2.11.0 -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html