Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ieee1394 Remove unnecessary cast.
details: https://anonhg.NetBSD.org/src/rev/2c959887f3b8
branches: trunk
changeset: 754377:2c959887f3b8
user: kiyohara <kiyohara%NetBSD.org@localhost>
date: Thu Apr 29 06:53:48 2010 +0000
description:
Remove unnecessary cast.
diffstat:
sys/dev/ieee1394/fwdev.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (32 lines):
diff -r 8e9aa6322034 -r 2c959887f3b8 sys/dev/ieee1394/fwdev.c
--- a/sys/dev/ieee1394/fwdev.c Thu Apr 29 06:53:13 2010 +0000
+++ b/sys/dev/ieee1394/fwdev.c Thu Apr 29 06:53:48 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fwdev.c,v 1.18 2010/03/29 03:05:27 kiyohara Exp $ */
+/* $NetBSD: fwdev.c,v 1.19 2010/04/29 06:53:48 kiyohara Exp $ */
/*-
* Copyright (c) 2003 Hidetoshi Shimokawa
* Copyright (c) 1998-2002 Katsushi Kobayashi and Hidetoshi Shimokawa
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fwdev.c,v 1.18 2010/03/29 03:05:27 kiyohara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fwdev.c,v 1.19 2010/04/29 06:53:48 kiyohara Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -511,10 +511,10 @@
break;
}
- memcpy((void *)&xfer->send.hdr, fp, tinfo->hdr_len);
+ memcpy(&xfer->send.hdr, fp, tinfo->hdr_len);
if (pay_len > 0)
- memcpy((void *)xfer->send.payload,
- (char *)fp + tinfo->hdr_len, pay_len);
+ memcpy(xfer->send.payload, (char *)fp + tinfo->hdr_len,
+ pay_len);
xfer->send.spd = asyreq->req.sped;
xfer->hand = fw_xferwake;
Home |
Main Index |
Thread Index |
Old Index