projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
515f600
)
RDMA/hns: Delete BITS_PER_BYTE redefinition
author
Leon Romanovsky
<leonro@mellanox.com>
Wed, 23 Oct 2019 05:42:39 +0000
(08:42 +0300)
committer
Jason Gunthorpe
<jgg@mellanox.com>
Mon, 28 Oct 2019 16:28:24 +0000
(13:28 -0300)
HNS redefined available in bits.h define and didn't use it, we can safely
delete it.
Link:
https://lore.kernel.org/r/20191023054239.31648-1-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_device.h
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/hns/hns_roce_device.h
b/drivers/infiniband/hw/hns/hns_roce_device.h
index
cbd75e4
..
9407613
100644
(file)
--- a/
drivers/infiniband/hw/hns/hns_roce_device.h
+++ b/
drivers/infiniband/hw/hns/hns_roce_device.h
@@
-53,8
+53,6
@@
#define BA_BYTE_LEN 8
-#define BITS_PER_BYTE 8
-
/* Hardware specification only for v1 engine */
#define HNS_ROCE_MIN_CQE_NUM 0x40
#define HNS_ROCE_MIN_WQE_NUM 0x20