aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorWei Hu(Xavier) <xavier.huwei@huawei.com>2017-09-20 11:45:26 +0800
committerDoug Ledford <dledford@redhat.com>2017-09-27 08:37:46 -0400
commit400d324a14acbe9a6189d0336fdb22f69c2cfd9a (patch)
tree385583a252d3f7fe4b2de64b39bffc38eeccdb72 /drivers
parent78928a17cae238fe21a725e1dbc1d13f6c7e6e14 (diff)
RDMA/hns: Delete the unnecessary initializing enum to zero
It deletes the unnecessary initializing enum to zero. Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com> Signed-off-by: Shaobo Xu <xushaobo2@huawei.com> Signed-off-by: Lijun Ou <oulijun@huawei.com> Reviewed-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/infiniband/hw/hns/hns_roce_device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/hns/hns_roce_device.h b/drivers/infiniband/hw/hns/hns_roce_device.h
index b45dba53e3b9..4f43c91db01a 100644
--- a/drivers/infiniband/hw/hns/hns_roce_device.h
+++ b/drivers/infiniband/hw/hns/hns_roce_device.h
@@ -171,7 +171,7 @@ enum {
};
enum hns_roce_mtt_type {
- MTT_TYPE_WQE = 0,
+ MTT_TYPE_WQE,
MTT_TYPE_CQE,
};