diff mbox series

[460/622] lustre: ptlrpc: remove struct ptlrpc_bulk_page

Message ID 1582838290-17243-461-git-send-email-jsimmons@infradead.org (mailing list archive)
State New, archived
Headers show
Series lustre: sync closely to 2.13.52 | expand

Commit Message

James Simmons Feb. 27, 2020, 9:15 p.m. UTC
From: Mr NeilBrown <neilb@suse.com>

This structure is never used, so remove it.

WC-bug-id: https://jira.whamcloud.com/browse/LU-6142
Lustre-commit: 2b9bf4c00bce ("LU-6142 ptlrpc: remove struct ptlrpc_bulk_page")
Signed-off-by: Mr NeilBrown <neilb@suse.com>
Reviewed-on: https://review.whamcloud.com/35879
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Shaun Tancheff <stancheff@cray.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
---
 fs/lustre/include/lustre_net.h | 16 ----------------
 1 file changed, 16 deletions(-)
diff mbox series

Patch

diff --git a/fs/lustre/include/lustre_net.h b/fs/lustre/include/lustre_net.h
index f16c6d3..faf15e9 100644
--- a/fs/lustre/include/lustre_net.h
+++ b/fs/lustre/include/lustre_net.h
@@ -1146,22 +1146,6 @@  void _debug_req(struct ptlrpc_request *req,
 } while (0)
 /** @} */
 
-/**
- * Structure that defines a single page of a bulk transfer
- */
-struct ptlrpc_bulk_page {
-	/** Linkage to list of pages in a bulk */
-	struct list_head	bp_link;
-	/**
-	 * Number of bytes in a page to transfer starting from @bp_pageoffset
-	 */
-	int			bp_buflen;
-	/** offset within a page */
-	int			bp_pageoffset;
-	/** The page itself */
-	struct page		*bp_page;
-};
-
 enum ptlrpc_bulk_op_type {
 	PTLRPC_BULK_OP_ACTIVE	= 0x00000001,
 	PTLRPC_BULK_OP_PASSIVE	= 0x00000002,