From 0d3c733da7892d92ee65a48b2c270a3bdc064080 Mon Sep 17 00:00:00 2001
From: Dima Dorfman
Date: Tue, 4 Apr 2006 10:11:15 +0000
Subject: [PATCH] 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 9d87b1ffb0ae..a590f1ef43d0 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