locking: ignore parenthesis
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 12 Mar 2013 18:12:31 +0000 (21:12 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Tue, 12 Mar 2013 18:12:31 +0000 (21:12 +0300)
commit6a1c87ff4845d4b9de91ddaebe11f1127903a310
tree9b8e5c7aa42540d16192df06611ea3284a0aa952
parent4b8ec5a53a2baebc10cb6c0d42560adddf54b307
locking: ignore parenthesis

Smatch used to get confused and think that:
mutex_lock(&(foo));
was different from:
mutex_lock(&foo);

This is easy to solve by just ignoring all the parenthesis.

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