Source-Changes-HG archive

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

[src/trunk]: src/sys/fs/autofs sys/fs/autofs: Remove unused APRINTF macro



details:   https://anonhg.NetBSD.org/src/rev/e3e9249c0ca6
branches:  trunk
changeset: 375862:e3e9249c0ca6
user:      tkusumi <tkusumi%NetBSD.org@localhost>
date:      Wed May 17 06:44:38 2023 +0000

description:
sys/fs/autofs: Remove unused APRINTF macro

Remove a debug print macro (originates from DragonFly autofs)
I had intentionally kept at the time.

diffstat:

 sys/fs/autofs/autofs.h |  9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)

diffs (23 lines):

diff -r 7ab5dcf7d92c -r e3e9249c0ca6 sys/fs/autofs/autofs.h
--- a/sys/fs/autofs/autofs.h    Wed May 17 03:16:11 2023 +0000
+++ b/sys/fs/autofs/autofs.h    Wed May 17 06:44:38 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: autofs.h,v 1.4 2019/11/23 17:13:46 tkusumi Exp $       */
+/*     $NetBSD: autofs.h,v 1.5 2023/05/17 06:44:38 tkusumi Exp $       */
 
 /*-
  * Copyright (c) 2017 The NetBSD Foundation, Inc.
@@ -95,13 +95,6 @@ extern int autofs_interruptible;
                }                                       \
        } while (0)
 
-/*
- * APRINTF is only for debugging.
- */
-#define APRINTF(X, ...)                                        \
-       printf("### %s(%s): " X,                        \
-           __func__, curproc->p_comm, ## __VA_ARGS__)
-
 struct autofs_node {
        RB_ENTRY(autofs_node)           an_entry;
        char                            *an_name;



Home | Main Index | Thread Index | Old Index