aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2004-04-11 23:28:57 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-04-11 23:28:57 -0700
commit0e8e57e384ff71241e9552827237920343968226 (patch)
tree3c3de007ea666f97c735e829b8e5c79f8fb783c8 /security
parent5e752b7e934265eb51f82ae5e3eae6f0d6db36eb (diff)
downloadhistory-0e8e57e384ff71241e9552827237920343968226.tar.gz
[PATCH] From: James Morris <jmorris@redhat.com>
This patch removes a harmless duplicate assignment from the IPv6 code.
Diffstat (limited to 'security')
-rw-r--r--security/selinux/hooks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c
index cb4c929f278d7b..5e765cd7535bdc 100644
--- a/security/selinux/hooks.c
+++ b/security/selinux/hooks.c
@@ -2711,7 +2711,7 @@ out:
static int selinux_parse_skb_ipv6(struct sk_buff *skb, struct avc_audit_data *ad)
{
u8 nexthdr;
- int ret, offset = skb->nh.raw - skb->data;
+ int ret, offset;
struct ipv6hdr ipv6h;
offset = skb->nh.raw - skb->data;