atomic_inc_dec: don't double set states to &inc/&dec
commita41179538c88e15c1a3a994e93a6b65aa4f3550a
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 26 May 2020 13:03:03 +0000 (26 16:03 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Tue, 26 May 2020 13:03:03 +0000 (26 16:03 +0300)
treeb5dd2794512e891dfeacde9d455b0c2422fe080c
parentfddaca7e24e719fb83d161bbe709a72b56b2615e
atomic_inc_dec: don't double set states to &inc/&dec

If the function is hard coded and also recorded in the DB, then the
hard coded value wins.  This matches how check_locking.c works.

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