Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/dkwedge dk(4): Omit needless void * cast.
details: https://anonhg.NetBSD.org/src/rev/5a47f8b62618
branches: trunk
changeset: 374375:5a47f8b62618
user: riastradh <riastradh%NetBSD.org@localhost>
date: Fri Apr 21 18:24:47 2023 +0000
description:
dk(4): Omit needless void * cast.
No functional change intended.
diffstat:
sys/dev/dkwedge/dk.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r a6f6d0b131cc -r 5a47f8b62618 sys/dev/dkwedge/dk.c
--- a/sys/dev/dkwedge/dk.c Fri Apr 21 18:24:39 2023 +0000
+++ b/sys/dev/dkwedge/dk.c Fri Apr 21 18:24:47 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dk.c,v 1.129 2023/04/21 18:24:39 riastradh Exp $ */
+/* $NetBSD: dk.c,v 1.130 2023/04/21 18:24:47 riastradh Exp $ */
/*-
* Copyright (c) 2004, 2005, 2006, 2007 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dk.c,v 1.129 2023/04/21 18:24:39 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dk.c,v 1.130 2023/04/21 18:24:47 riastradh Exp $");
#ifdef _KERNEL_OPT
#include "opt_dkwedge.h"
@@ -1584,7 +1584,7 @@ dkioctl(dev_t dev, u_long cmd, void *dat
l != NULL ? l->l_cred : NOCRED);
break;
case DIOCGWEDGEINFO: {
- struct dkwedge_info *dkw = (void *) data;
+ struct dkwedge_info *dkw = data;
strlcpy(dkw->dkw_devname, device_xname(sc->sc_dev),
sizeof(dkw->dkw_devname));
Home |
Main Index |
Thread Index |
Old Index