avl: short cut FOR_EACH_MY_SM() for checks without and states
commite10af87d8b297e2848ea8d75562dda0d2b054e2a
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 22 Feb 2021 12:00:53 +0000 (22 15:00 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Mon, 22 Feb 2021 12:00:53 +0000 (22 15:00 +0300)
treecb622f129784d5a53c892133c69ce35c37780544
parent16ab906d2127037df023a6ce014e4a4c5e60e6db
avl: short cut FOR_EACH_MY_SM() for checks without and states

If a check has not states, then we shouldn't have to iterate through the
all the states.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
avl.h