RDMA/hns: Delete BITS_PER_BYTE redefinition
authorLeon Romanovsky <leonro@mellanox.com>
Wed, 23 Oct 2019 05:42:39 +0000 (08:42 +0300)
committerJason 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

index cbd75e4..9407613 100644 (file)
@@ -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