summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/sys/zio.h2
-rw-r--r--module/zfs/spa_stats.c1
2 files changed, 0 insertions, 3 deletions
diff --git a/include/sys/zio.h b/include/sys/zio.h
index d4350badc..129e2bcb9 100644
--- a/include/sys/zio.h
+++ b/include/sys/zio.h
@@ -260,7 +260,6 @@ struct zbookmark {
uint64_t zb_object;
int64_t zb_level;
uint64_t zb_blkid;
- char * zb_func;
};
#define SET_BOOKMARK(zb, objset, object, level, blkid) \
@@ -269,7 +268,6 @@ struct zbookmark {
(zb)->zb_object = object; \
(zb)->zb_level = level; \
(zb)->zb_blkid = blkid; \
- (zb)->zb_func = FTAG; \
}
#define ZB_DESTROYED_OBJSET (-1ULL)
diff --git a/module/zfs/spa_stats.c b/module/zfs/spa_stats.c
index a94fecfe8..a35f5df65 100644
--- a/module/zfs/spa_stats.c
+++ b/module/zfs/spa_stats.c
@@ -207,7 +207,6 @@ spa_read_history_add(spa_t *spa, const zbookmark_t *zb, uint32_t aflags)
return;
srh = kmem_zalloc(sizeof (spa_read_history_t), KM_PUSHPAGE);
- strlcpy(srh->origin, zb->zb_func, sizeof (srh->origin));
strlcpy(srh->comm, getcomm(), sizeof (srh->comm));
srh->start = gethrtime();
srh->objset = zb->zb_objset;