From: Eric Sandeen Date: Tue, 4 Apr 2017 20:37:43 +0000 (-0500) Subject: xfs: remove unused struct declarations X-Git-Tag: v4.11.0-rc1~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71ac8e1f052da2e4e4128b32f925d14442f629c1;p=thirdparty%2Fxfsprogs-dev.git xfs: remove unused struct declarations Source kernel commit: 64f61ab6040c9f04ba181cca7580212f23b89f74 After scratching my head looking for "xfs_busy_extent" I realized it's not used; it's xfs_extent_busy, and the declaration for the other name is bogus. Remove that and a few others as well. (struct xfs_log_callback is used, but the 2nd declaration is unnecessary). Signed-off-by: Eric Sandeen Reviewed-by: Christoph Hellwig Reviewed-by: Darrick J. Wong Signed-off-by: Darrick J. Wong Signed-off-by: Eric Sandeen --- diff --git a/include/xfs_log_recover.h b/include/xfs_log_recover.h index 2fea63d37..7582676b6 100644 --- a/include/xfs_log_recover.h +++ b/include/xfs_log_recover.h @@ -42,7 +42,6 @@ typedef struct xlog_recover_item { xfs_log_iovec_t *ri_buf; /* ptr to regions buffer */ } xlog_recover_item_t; -struct xlog_tid; typedef struct xlog_recover { struct hlist_node r_list; xlog_tid_t r_log_tid; /* log's transaction id */