From 70ede28e39f0027677d7e53007c04674c8867366 Mon Sep 17 00:00:00 2001 From: Zach Brown Date: Wed, 20 Oct 2021 12:21:38 -0700 Subject: [PATCH] Remove unused traced_extent leavings Remove some lingering support helpers for the traced_extent struct that we haven't used in a while. Signed-off-by: Zach Brown --- kmod/src/data.h | 7 ------- kmod/src/scoutfs_trace.h | 3 --- 2 files changed, 10 deletions(-) diff --git a/kmod/src/data.h b/kmod/src/data.h index 064564f6..c056915e 100644 --- a/kmod/src/data.h +++ b/kmod/src/data.h @@ -38,13 +38,6 @@ struct scoutfs_data_wait { .err = 0, \ } -struct scoutfs_traced_extent { - u64 iblock; - u64 count; - u64 blkno; - u8 flags; -}; - extern const struct address_space_operations scoutfs_file_aops; extern const struct file_operations scoutfs_file_fops; struct scoutfs_alloc; diff --git a/kmod/src/scoutfs_trace.h b/kmod/src/scoutfs_trace.h index e1e53acd..ce9e707f 100644 --- a/kmod/src/scoutfs_trace.h +++ b/kmod/src/scoutfs_trace.h @@ -58,9 +58,6 @@ struct lock_info; __entry->pref##_map, \ __entry->pref##_flags -#define DECLARE_TRACED_EXTENT(name) \ - struct scoutfs_traced_extent name = {0} - DECLARE_EVENT_CLASS(scoutfs_ino_ret_class, TP_PROTO(struct super_block *sb, u64 ino, int ret),