From: Jeff Layton Date: Sat, 2 Aug 2008 12:00:48 +0000 (-0400) Subject: remove locking around tcpSesAllocCount atomic variable X-Git-Tag: v2.6.27-rc3~65^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93d0ec851820688ef5b21a84e7460d3cf405f5c5;p=pandora-kernel.git remove locking around tcpSesAllocCount atomic variable 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 Signed-off-by: Steve French --- Reading git-diff-tree failed