From: Mathias Krause Date: Sat, 23 Feb 2013 01:13:48 +0000 (+0000) Subject: sock_diag: Simplify sock_diag_handlers[] handling in __sock_diag_rcv_msg X-Git-Tag: v3.9-rc1~70^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e904550d0fffcda2b18d7ab12750b0c75757e89;p=pandora-kernel.git sock_diag: Simplify sock_diag_handlers[] handling in __sock_diag_rcv_msg The sock_diag_lock_handler() and sock_diag_unlock_handler() actually make the code less readable. Get rid of them and make the lock usage and access to sock_diag_handlers[] clear on the first sight. Signed-off-by: Mathias Krause Signed-off-by: David S. Miller --- Reading git-diff-tree failed