diff mbox series

[1/1] RDMA/irdma: compact the header file

Message ID 20211006201531.469650-1-yanjun.zhu@linux.dev (mailing list archive)
State Accepted
Delegated to: Jason Gunthorpe
Headers show
Series [1/1] RDMA/irdma: compact the header file | expand

Commit Message

Zhu Yanjun Oct. 6, 2021, 8:15 p.m. UTC
From: Zhu Yanjun <yanjun.zhu@linux.dev>

The struct irdma_bth is not used, so remove it.

Signed-off-by: Zhu Yanjun <yanjun.zhu@linux.dev>
---
 drivers/infiniband/hw/irdma/cm.h | 8 --------
 1 file changed, 8 deletions(-)

Comments

Shiraz Saleem Oct. 6, 2021, 1:36 p.m. UTC | #1
> Subject: [PATCH 1/1] RDMA/irdma: compact the header file
> 
> From: Zhu Yanjun <yanjun.zhu@linux.dev>
> 
> The struct irdma_bth is not used, so remove it.
> 
> Signed-off-by: Zhu Yanjun <yanjun.zhu@linux.dev>
> ---
>  drivers/infiniband/hw/irdma/cm.h | 8 --------
>  1 file changed, 8 deletions(-)
> 

Thanks!

Acked-by: Shiraz Saleem <shiraz.saleem@intel.com>
Jason Gunthorpe Oct. 6, 2021, 7:39 p.m. UTC | #2
On Wed, Oct 06, 2021 at 04:15:31PM -0400, yanjun.zhu@linux.dev wrote:
> From: Zhu Yanjun <yanjun.zhu@linux.dev>
> 
> The struct irdma_bth is not used, so remove it.
> 
> Signed-off-by: Zhu Yanjun <yanjun.zhu@linux.dev>
> Acked-by: Shiraz Saleem <shiraz.saleem@intel.com>
> ---
>  drivers/infiniband/hw/irdma/cm.h | 8 --------
>  1 file changed, 8 deletions(-)

Applied to for-next, thanks

Jason
diff mbox series

Patch

diff --git a/drivers/infiniband/hw/irdma/cm.h b/drivers/infiniband/hw/irdma/cm.h
index d03cd29333ea..1fbe72e18625 100644
--- a/drivers/infiniband/hw/irdma/cm.h
+++ b/drivers/infiniband/hw/irdma/cm.h
@@ -159,14 +159,6 @@  enum irdma_cm_event_type {
 	IRDMA_CM_EVENT_ABORTED,
 };
 
-struct irdma_bth { /* Base Trasnport Header */
-	u8 opcode;
-	u8 flags;
-	__be16 pkey;
-	__be32 qpn;
-	__be32 apsn;
-};
-
 struct ietf_mpa_v1 {
 	u8 key[IETF_MPA_KEY_SIZE];
 	u8 flags;