aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@shinybook.infradead.org>2005-06-22 10:40:55 -0400
committerDavid Woodhouse <dwmw2@shinybook.infradead.org>2005-06-22 10:40:55 -0400
commit9470178e620fe8f512928eed34994572c1c44be4 (patch)
tree99b6d171a827cbea045119f90b62de25ff92a70f
parent9ad9ad385be27fcc7c16d290d972c6173e780a61 (diff)
AUDIT: Remove stray declaration of tsk from audit_receive_msg().
It's not used any more. Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-rw-r--r--kernel/audit.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/audit.c b/kernel/audit.c
index 644ab825118b..9af947a63ed1 100644
--- a/kernel/audit.c
+++ b/kernel/audit.c
@@ -372,7 +372,6 @@ static int audit_receive_msg(struct sk_buff *skb, struct nlmsghdr *nlh)
372 u16 msg_type = nlh->nlmsg_type; 372 u16 msg_type = nlh->nlmsg_type;
373 uid_t loginuid; /* loginuid of sender */ 373 uid_t loginuid; /* loginuid of sender */
374 struct audit_sig_info sig_data; 374 struct audit_sig_info sig_data;
375 struct task_struct *tsk;
376 375
377 err = audit_netlink_ok(NETLINK_CB(skb).eff_cap, msg_type); 376 err = audit_netlink_ok(NETLINK_CB(skb).eff_cap, msg_type);
378 if (err) 377 if (err)