From: Pavel Emelyanov Date: Thu, 15 Nov 2007 11:03:19 +0000 (-0800) Subject: [NET]: Move sock_valbool_flag to socket.c X-Git-Tag: v2.6.25-rc1~1162^2~1426 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0ef877b2c9f543e9fb7953bfe1a0cd3a4eae362;p=pandora-kernel.git [NET]: Move sock_valbool_flag to socket.c The sock_valbool_flag() helper is used in setsockopt to set or reset some flag on the sock. This helper is required in the net/socket.c only, so move it there. Besides, patch two places in sys_setsockopt() that repeat this helper functionality manually. Since this is not a bugfix, but a trivial cleanup, I prepared this patch against net-2.6.25, but it also applies (with a single offset) to the latest net-2.6. Signed-off-by: Pavel Emelyanov Signed-off-by: David S. Miller --- Reading git-diff-tree failed