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.
This commit is contained in:
parent
b53bf1269c
commit
0d3c733da7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user