diff mbox series

RDMA/irdma: Remove the repeated declaration

Message ID 1629861674-53343-1-git-send-email-zhangshaokun@hisilicon.com (mailing list archive)
State Accepted
Delegated to: Jason Gunthorpe
Headers show
Series RDMA/irdma: Remove the repeated declaration | expand

Commit Message

Shaokun Zhang Aug. 25, 2021, 3:21 a.m. UTC
Functions 'irdma_alloc_ws_node_id' and 'irdma_free_ws_node_id' are
declared twice, so remove the repeated declaration.

Cc: Mustafa Ismail <mustafa.ismail@intel.com>
Cc: Shiraz Saleem <shiraz.saleem@intel.com>
Cc: Doug Ledford <dledford@redhat.com>
Cc: Jason Gunthorpe <jgg@ziepe.ca>
Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
---
 drivers/infiniband/hw/irdma/protos.h | 2 --
 1 file changed, 2 deletions(-)

Comments

Jason Gunthorpe Aug. 25, 2021, 5:50 p.m. UTC | #1
On Wed, Aug 25, 2021 at 11:21:14AM +0800, Shaokun Zhang wrote:
> Functions 'irdma_alloc_ws_node_id' and 'irdma_free_ws_node_id' are
> declared twice, so remove the repeated declaration.
> 
> Cc: Mustafa Ismail <mustafa.ismail@intel.com>
> Cc: Shiraz Saleem <shiraz.saleem@intel.com>
> Cc: Doug Ledford <dledford@redhat.com>
> Cc: Jason Gunthorpe <jgg@ziepe.ca>
> Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
> ---
>  drivers/infiniband/hw/irdma/protos.h | 2 --
>  1 file changed, 2 deletions(-)

Applied to for-next

Thanks,
Jason
diff mbox series

Patch

diff --git a/drivers/infiniband/hw/irdma/protos.h b/drivers/infiniband/hw/irdma/protos.h
index e3f5173706fe..78f598fdbccf 100644
--- a/drivers/infiniband/hw/irdma/protos.h
+++ b/drivers/infiniband/hw/irdma/protos.h
@@ -71,8 +71,6 @@  void irdma_qp_rem_qos(struct irdma_sc_qp *qp);
 struct irdma_sc_qp *irdma_get_qp_from_list(struct list_head *head,
 					   struct irdma_sc_qp *qp);
 void irdma_reinitialize_ieq(struct irdma_sc_vsi *vsi);
-u16 irdma_alloc_ws_node_id(struct irdma_sc_dev *dev);
-void irdma_free_ws_node_id(struct irdma_sc_dev *dev, u16 node_id);
 /* terminate functions*/
 void irdma_terminate_send_fin(struct irdma_sc_qp *qp);