From 2b9bf4c00bcefd948668c9c9a4db651d702fc09c Mon Sep 17 00:00:00 2001 From: Mr NeilBrown Date: Thu, 22 Aug 2019 15:18:04 +1000 Subject: [PATCH] LU-6142 ptlrpc: remove struct ptlrpc_bulk_page This structure is never used, so remove it. Test-Parameters: trivial Signed-off-by: Mr NeilBrown Change-Id: I2a4fbfe2701636670801adcd0c2f2d991598f8f6 Reviewed-on: https://review.whamcloud.com/35879 Tested-by: jenkins Reviewed-by: Andreas Dilger Tested-by: Maloo Reviewed-by: James Simmons Reviewed-by: Shaun Tancheff --- lustre/include/lustre_net.h | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/lustre/include/lustre_net.h b/lustre/include/lustre_net.h index 2611c87..30fbde9 100644 --- a/lustre/include/lustre_net.h +++ b/lustre/include/lustre_net.h @@ -1324,22 +1324,6 @@ do { \ } 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 \a 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, -- 1.8.3.1