diff options
author | Brian Haley <brian.haley@hp.com> | 2008-04-25 05:38:31 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-25 05:38:31 +0200 |
commit | 2db3e47e7080fde2a43d6312190d8229826b8e42 (patch) | |
tree | a9f03b52cce1501c32a8d24d657d3d5bc1888fae /net/core/ethtool.c | |
parent | tun: Multicast handling in tun_chr_ioctl() needs proper locking. (diff) | |
download | linux-2db3e47e7080fde2a43d6312190d8229826b8e42.tar.xz linux-2db3e47e7080fde2a43d6312190d8229826b8e42.zip |
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 <brian.haley@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/ethtool.c')
0 files changed, 0 insertions, 0 deletions