Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/dkwedge remove unnecessary substitution. no function...
details: https://anonhg.NetBSD.org/src/rev/2fe668dcddab
branches: trunk
changeset: 351824:2fe668dcddab
user: rin <rin%NetBSD.org@localhost>
date: Tue Feb 28 04:47:41 2017 +0000
description:
remove unnecessary substitution. no functional changes.
diffstat:
sys/dev/dkwedge/dkwedge_rdb.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r a42223fc4325 -r 2fe668dcddab sys/dev/dkwedge/dkwedge_rdb.c
--- a/sys/dev/dkwedge/dkwedge_rdb.c Tue Feb 28 04:46:02 2017 +0000
+++ b/sys/dev/dkwedge/dkwedge_rdb.c Tue Feb 28 04:47:41 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dkwedge_rdb.c,v 1.3 2017/02/28 04:46:02 rin Exp $ */
+/* $NetBSD: dkwedge_rdb.c,v 1.4 2017/02/28 04:47:41 rin Exp $ */
/*
* Adapted from arch/amiga/amiga/disksubr.c:
@@ -68,7 +68,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dkwedge_rdb.c,v 1.3 2017/02/28 04:46:02 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dkwedge_rdb.c,v 1.4 2017/02/28 04:47:41 rin Exp $");
#include <sys/param.h>
#include <sys/disklabel_rdb.h>
@@ -123,7 +123,7 @@
unsigned char archtype;
bool found, root, swap;
- secsize = bufsize = DEV_BSIZE << pdk->dk_blkshift;
+ secsize = DEV_BSIZE << pdk->dk_blkshift;
bufsize = roundup(MAX(sizeof(struct partblock), sizeof(struct rdblock)),
secsize);
bp = DKW_MALLOC(bufsize);
Home |
Main Index |
Thread Index |
Old Index