Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/dm dm: Remove unused macro MAX_TARGET_STRING_LEN



details:   https://anonhg.NetBSD.org/src/rev/c68918d3786f
branches:  trunk
changeset: 846893:c68918d3786f
user:      tkusumi <tkusumi%NetBSD.org@localhost>
date:      Tue Dec 03 16:09:13 2019 +0000

description:
dm: Remove unused macro MAX_TARGET_STRING_LEN

that was added but never used in both NetBSD and DragonFlyBSD.
taken-from: DragonFlyBSD

diffstat:

 sys/dev/dm/dm.h |  7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diffs (21 lines):

diff -r bd9459b7ff68 -r c68918d3786f sys/dev/dm/dm.h
--- a/sys/dev/dm/dm.h   Tue Dec 03 15:47:38 2019 +0000
+++ b/sys/dev/dm/dm.h   Tue Dec 03 16:09:13 2019 +0000
@@ -1,4 +1,4 @@
-/*        $NetBSD: dm.h,v 1.30 2019/12/03 15:47:38 tkusumi Exp $      */
+/*        $NetBSD: dm.h,v 1.31 2019/12/03 16:09:13 tkusumi Exp $      */
 
 /*
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -66,11 +66,6 @@
 /*** Internal device-mapper structures ***/
 
 /*
- * A table entry describes a physical range of the logical volume.
- */
-#define MAX_TARGET_STRING_LEN 32
-
-/*
  * A device mapper table is a list of physical ranges plus the mapping target
  * applied to them.
  */



Home | Main Index | Thread Index | Old Index