From 264a13426d82be5763bf90bc3975c0dd6962d34a Mon Sep 17 00:00:00 2001
From: dd
Date: Tue, 4 Apr 2006 10:11:15 +0000
Subject: Remove unused variables s and error in key_detach. The previous
revision removed their usage but did not remove the declaration. This caused
a warning in my build, which was fatal with -Werror.
---
sys/netipsec/keysock.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sys/netipsec/keysock.c b/sys/netipsec/keysock.c
index 9d87b1f..a590f1e 100644
--- a/sys/netipsec/keysock.c
+++ b/sys/netipsec/keysock.c
@@ -460,7 +460,6 @@ static void
key_detach(struct socket *so)
{
struct keycb *kp = (struct keycb *)sotorawcb(so);
- int s, error;
KASSERT(kp != NULL, ("key_detach: kp == NULL"));
if (kp->kp_raw.rcb_proto.sp_protocol
--
cgit v1.1