slist: a pointer is equal to itself in cmp_possible_sm()
commitb9d322d6ebdbed06bae9314513665f433bccf1fc
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 20 Feb 2019 12:58:29 +0000 (20 15:58 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Wed, 20 Feb 2019 12:58:29 +0000 (20 15:58 +0300)
tree6b90dcfd9e04d731236b802558ecff2318c2c159
parenteab68be83ae4bd906438668388b145e593b297b8
slist: a pointer is equal to itself in cmp_possible_sm()

When I look at the cmp_possible_sm() function, I feel like it is a load
of absolute nonsense.  But then when I try to change it what I find is that
stuff breaks.

I'm trying to change it little by little.  This change is obviously safe
and should be a tiny bit of a speedup.

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