summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMatthew Ahrens <[email protected]>2019-05-01 17:32:54 -0700
committerBrian Behlendorf <[email protected]>2019-05-01 17:32:54 -0700
commit6bdefad311a87452b557febd5be33b627775a006 (patch)
tree7c1faba0b92f8921f0e4e9e7db48acb627cdd896 /include
parent2a15c00f89468dde08ef48f2d6a3df223c60e723 (diff)
Remove incorrect (and inappropriate) comment in dprintf_dnode
This comment seems to misunderstand the ## preprocessor token, which does token concatenation. It is not needed here, since we are concatenating string literals, which is performed by putting the literals next to each other. Additionally, the comment uses offensive language. Reviewed-by: Igor Kozhukhov <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: George Melikov <[email protected]> Reviewed-by: Tony Nguyen <[email protected]> Signed-off-by: Matthew Ahrens <[email protected]> Closes #8698 Closes #8699
Diffstat (limited to 'include')
-rw-r--r--include/sys/dnode.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/sys/dnode.h b/include/sys/dnode.h
index 6355aaa50..accbe6945 100644
--- a/include/sys/dnode.h
+++ b/include/sys/dnode.h
@@ -589,11 +589,6 @@ extern dnode_stats_t dnode_stats;
#ifdef ZFS_DEBUG
-/*
- * There should be a ## between the string literal and fmt, to make it
- * clear that we're joining two strings together, but that piece of shit
- * gcc doesn't support that preprocessor token.
- */
#define dprintf_dnode(dn, fmt, ...) do { \
if (zfs_flags & ZFS_DEBUG_DPRINTF) { \
char __db_buf[32]; \