From: Brian Haley Date: Fri, 25 Apr 2008 03:38:31 +0000 (-0700) Subject: af_key: Fix af_key.c compiler warning X-Git-Tag: v2.6.26-rc1~1067^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2db3e47e7080fde2a43d6312190d8229826b8e42;p=pandora-kernel.git af_key: Fix af_key.c compiler warning net/key/af_key.c: In function ‘pfkey_spddelete’: net/key/af_key.c:2359: warning: ‘pol_ctx’ may be used uninitialized in this function When CONFIG_SECURITY_NETWORK_XFRM isn't set, security_xfrm_policy_alloc() is an inline that doesn't set pol_ctx, so this seemed like the easiest fix short of using *uninitialized_var(pol_ctx). Signed-off-by: Brian Haley Signed-off-by: David S. Miller --- Reading git-diff-tree failed