remove locking around tcpSesAllocCount atomic variable
authorJeff Layton <jlayton@redhat.com>
Sat, 2 Aug 2008 12:00:48 +0000 (08:00 -0400)
committerSteve French <sfrench@us.ibm.com>
Mon, 4 Aug 2008 02:02:15 +0000 (02:02 +0000)
The global tcpSesAllocCount variable is an atomic already and doesn't
really need the extra locking around it. Remove the locking and just use
the atomic_inc_return and atomic_dec_return functions to make sure we
access it correctly.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>

No differences found