avl: add a short cut for when there are no states
commita363faae46e3d9a89b61879aac4ca2532436e001
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 27 Jan 2017 09:00:42 +0000 (27 12:00 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Fri, 27 Jan 2017 09:00:42 +0000 (27 12:00 +0300)
treece578221c017f240599568164275f547838ac5e7
parentfc2dc2e0b5de3531610d729559d284054bb11651
avl: add a short cut for when there are no states

It's quite common for a check to have no states.  This provides a quick
way to verify it instead of searching the complete hash tree.

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