summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2024-06-29 11:32:36 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2024-06-29 11:32:36 +0000
commit6bc8daf4af9800145544c670fe5fe97e8d0dc69b (patch)
treee91e6a18dce73d0e517de783f0a54abc01cf1ca6
parentc9596668ac5af72dbcc8c8ccd35d43ce2a381dd9 (diff)
remove unused vars
-rw-r--r--usr.bin/kdump/kdump.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c
index c28ad9eb2e0..e83f9530759 100644
--- a/usr.bin/kdump/kdump.c
+++ b/usr.bin/kdump/kdump.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kdump.c,v 1.163 2024/05/18 05:20:22 guenther Exp $ */
+/* $OpenBSD: kdump.c,v 1.164 2024/06/29 11:32:35 jsg Exp $ */
/*-
* Copyright (c) 1988, 1993
@@ -1499,9 +1499,6 @@ ktrpledge(struct ktr_pledge *pledge, size_t len)
static void
ktrpinsyscall(struct ktr_pinsyscall *pinsyscall, size_t len)
{
- const char *name = "";
- int i;
-
if (len < sizeof(struct ktr_pinsyscall))
errx(1, "invalid ktr pinsyscall length %zu", len);