atomic_inc_dec: ignore local static variables
commit5af259a00553c078154843aaf05918bbe83e93fe
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 26 May 2020 18:12:06 +0000 (26 21:12 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Tue, 26 May 2020 18:12:06 +0000 (26 21:12 +0300)
tree2cf084bec36b278918020f2d714cd441bd1402d3
parent84bb112c7ebab3ca48001985f0babc3b1d733c10
atomic_inc_dec: ignore local static variables

Some code has a counter that increments and we don't care what the value
is so long it's unique.  These variables should be static and local.

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