diff mbox

IB/ipoib: Delete unused struct

Message ID 20180401062218.12858-1-yuval.shaia@oracle.com (mailing list archive)
State Accepted
Headers show

Commit Message

Yuval Shaia April 1, 2018, 6:22 a.m. UTC
This structure is not needed since the introduction of commit
'c42687784b9a ("IB/ipoib: Scatter-Gather support in connected mode")'

Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com>
---
 drivers/infiniband/ulp/ipoib/ipoib.h | 5 -----
 1 file changed, 5 deletions(-)

Comments

Leon Romanovsky April 1, 2018, 6:38 a.m. UTC | #1
On Sun, Apr 01, 2018 at 09:22:18AM +0300, Yuval Shaia wrote:
> This structure is not needed since the introduction of commit
> 'c42687784b9a ("IB/ipoib: Scatter-Gather support in connected mode")'
>
> Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com>
> ---
>  drivers/infiniband/ulp/ipoib/ipoib.h | 5 -----
>  1 file changed, 5 deletions(-)
>

Thanks,
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Zhu Yanjun April 3, 2018, 8:19 a.m. UTC | #2
On 2018/4/1 14:22, Yuval Shaia wrote:
> This structure is not needed since the introduction of commit
> 'c42687784b9a ("IB/ipoib: Scatter-Gather support in connected mode")'
>
> Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com>
Reviewed-by: Zhu Yanjun <yanjun.zhu@oracle.com>

Zhu Yanjun
> ---
>   drivers/infiniband/ulp/ipoib/ipoib.h | 5 -----
>   1 file changed, 5 deletions(-)
>
> diff --git a/drivers/infiniband/ulp/ipoib/ipoib.h b/drivers/infiniband/ulp/ipoib/ipoib.h
> index 8033a006277f..308e0ce49289 100644
> --- a/drivers/infiniband/ulp/ipoib/ipoib.h
> +++ b/drivers/infiniband/ulp/ipoib/ipoib.h
> @@ -193,11 +193,6 @@ struct ipoib_tx_buf {
>   	u64		mapping[MAX_SKB_FRAGS + 1];
>   };
>   
> -struct ipoib_cm_tx_buf {
> -	struct sk_buff *skb;
> -	u64		mapping;
> -};
> -
>   struct ib_cm_id;
>   
>   struct ipoib_cm_data {

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Jason Gunthorpe April 3, 2018, 7:38 p.m. UTC | #3
On Sun, Apr 01, 2018 at 09:22:18AM +0300, Yuval Shaia wrote:
> This structure is not needed since the introduction of commit
> 'c42687784b9a ("IB/ipoib: Scatter-Gather support in connected mode")'
> 
> Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com>
> Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
> Reviewed-by: Zhu Yanjun <yanjun.zhu@oracle.com>
> ---
>  drivers/infiniband/ulp/ipoib/ipoib.h | 5 -----
>  1 file changed, 5 deletions(-)

Applied to for-next, thanks

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/infiniband/ulp/ipoib/ipoib.h b/drivers/infiniband/ulp/ipoib/ipoib.h
index 8033a006277f..308e0ce49289 100644
--- a/drivers/infiniband/ulp/ipoib/ipoib.h
+++ b/drivers/infiniband/ulp/ipoib/ipoib.h
@@ -193,11 +193,6 @@  struct ipoib_tx_buf {
 	u64		mapping[MAX_SKB_FRAGS + 1];
 };
 
-struct ipoib_cm_tx_buf {
-	struct sk_buff *skb;
-	u64		mapping;
-};
-
 struct ib_cm_id;
 
 struct ipoib_cm_data {