avl: introduce FOR_EACH_MY_SM() and callers
commit7e1347359bf83f654ebf3254db46a3074131e952
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 27 Feb 2014 10:55:39 +0000 (27 13:55 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 27 Feb 2014 10:55:39 +0000 (27 13:55 +0300)
tree05cfed93ac09666b7358bca6b18bb785bf112476
parent051ae625ecfe0ae8c4ee6d5a47bdf6c8cbce2999
avl: introduce FOR_EACH_MY_SM() and callers

I don't like get_all_states_stree() because it does an stree clone.  We
could save time by using the cur_stree directly.

We save time "in theory" at least...  I real life these mostly are called
for returns so I'm not sure how much difference it makes.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
19 files changed:
avl.h
check_balanced.c
check_debug.c
check_frees_argument.c
check_held_dev.c
check_leaks.c
check_locking.c
check_memory.c
check_puts_argument.c
check_return_enomem.c
check_template.c
check_unwind.c
check_user_data.c
smatch_db.c
smatch_extra.c
smatch_param_cleared.c
smatch_param_filter.c
smatch_param_limit.c
smatch_param_set.c