* [PATCH] RDMA/irdma: Remove the repeated declaration
@ 2021-08-25 3:21 Shaokun Zhang
2021-08-25 17:50 ` Jason Gunthorpe
0 siblings, 1 reply; 2+ messages in thread
From: Shaokun Zhang @ 2021-08-25 3:21 UTC (permalink / raw)
To: linux-rdma
Cc: Shaokun Zhang, Mustafa Ismail, Shiraz Saleem, Doug Ledford,
Jason Gunthorpe
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(-)
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);
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] RDMA/irdma: Remove the repeated declaration
2021-08-25 3:21 [PATCH] RDMA/irdma: Remove the repeated declaration Shaokun Zhang
@ 2021-08-25 17:50 ` Jason Gunthorpe
0 siblings, 0 replies; 2+ messages in thread
From: Jason Gunthorpe @ 2021-08-25 17:50 UTC (permalink / raw)
To: Shaokun Zhang; +Cc: linux-rdma, Mustafa Ismail, Shiraz Saleem, Doug Ledford
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-08-25 17:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-25 3:21 [PATCH] RDMA/irdma: Remove the repeated declaration Shaokun Zhang
2021-08-25 17:50 ` Jason Gunthorpe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).