projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b46a60
)
IB/hfi1: remove rc_only_opcode and uc_only_opcode declarations
author
Gaosheng Cui
<cuigaosheng1@huawei.com>
Sun, 11 Sep 2022 09:23:25 +0000
(17:23 +0800)
committer
Leon Romanovsky
<leon@kernel.org>
Tue, 20 Sep 2022 17:13:10 +0000
(20:13 +0300)
rc_only_opcode and uc_only_opcode have been removed since
commit
b374e060cc2a
("IB/hfi1: Consolidate pio control masks
into single definition"), so remove them.
Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
Link:
https://lore.kernel.org/r/20220911092325.3216513-1-cuigaosheng1@huawei.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/hfi1/verbs.h
patch
|
blob
|
blame
|
history
diff --git
a/drivers/infiniband/hw/hfi1/verbs.h
b/drivers/infiniband/hw/hfi1/verbs.h
index 38565532d6542e674c4f9302163d3896d7db16c5..7f30f32b34dc2070088609a16d06147b609af975 100644
(file)
--- a/
drivers/infiniband/hw/hfi1/verbs.h
+++ b/
drivers/infiniband/hw/hfi1/verbs.h
@@
-391,9
+391,6
@@
void hfi1_restart_rc(struct rvt_qp *qp, u32 psn, int wait);
int hfi1_setup_wqe(struct rvt_qp *qp, struct rvt_swqe *wqe,
bool *call_send);
-extern const u32 rc_only_opcode;
-extern const u32 uc_only_opcode;
-
int hfi1_ruc_check_hdr(struct hfi1_ibport *ibp, struct hfi1_packet *packet);
u32 hfi1_make_grh(struct hfi1_ibport *ibp, struct ib_grh *hdr,