locking: ignore unreachable unlocks
commit08c0001fb0b07f7de55a93d046a36a97ce59df52
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 12 Mar 2012 08:52:48 +0000 (12 11:52 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Mon, 12 Mar 2012 08:52:48 +0000 (12 11:52 +0300)
tree4274462e7c6d57612b1d121070856d482c2e784d
parent7b8199ca4bb449161d95f846b9753138ed0f1dd3
locking: ignore unreachable unlocks

There are a couple places where the code has an unlock() in code that can
never be reached.  Smatch would see that and complain that we assume that
code is both locked and unlocked at the start.

Really we should just ignore these places.

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