summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2017-10-07 19:43:22 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2017-10-07 19:43:22 +0000
commit8781e5adcbe80c6ec79e5b4d1e1790e0eb84c4b2 (patch)
tree17a478ccc45be24934fbd8dd245d763088345ca0 /usr.bin
parenteaa64ef180da97f2d082fe045f362650c379f297 (diff)
Delete pointless casts from void*
ok otto@ millert@
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/kdump/kdump.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c
index 850e6eb9160..5a0383a0000 100644
--- a/usr.bin/kdump/kdump.c
+++ b/usr.bin/kdump/kdump.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kdump.c,v 1.130 2017/04/28 13:53:05 mpi Exp $ */
+/* $OpenBSD: kdump.c,v 1.131 2017/10/07 19:43:21 guenther Exp $ */
/*-
* Copyright (c) 1988, 1993
@@ -246,19 +246,19 @@ main(int argc, char *argv[])
continue;
switch (ktr_header.ktr_type) {
case KTR_SYSCALL:
- ktrsyscall((struct ktr_syscall *)m, ktrlen);
+ ktrsyscall(m, ktrlen);
break;
case KTR_SYSRET:
- ktrsysret((struct ktr_sysret *)m, ktrlen);
+ ktrsysret(m, ktrlen);
break;
case KTR_NAMEI:
ktrnamei(m, ktrlen);
break;
case KTR_GENIO:
- ktrgenio((struct ktr_genio *)m, ktrlen);
+ ktrgenio(m, ktrlen);
break;
case KTR_PSIG:
- ktrpsig((struct ktr_psig *)m);
+ ktrpsig(m);
break;
case KTR_STRUCT:
ktrstruct(m, ktrlen);
@@ -271,7 +271,7 @@ main(int argc, char *argv[])
ktrexec(m, ktrlen);
break;
case KTR_PLEDGE:
- ktrpledge((struct ktr_pledge *)m, ktrlen);
+ ktrpledge(m, ktrlen);
break;
default:
printf("\n");