diff options
author | 2017-09-20 11:45:26 +0800 | |
---|---|---|
committer | 2017-09-27 08:37:46 -0400 | |
commit | 400d324a14acbe9a6189d0336fdb22f69c2cfd9a (patch) | |
tree | 385583a252d3f7fe4b2de64b39bffc38eeccdb72 | |
parent | RDMA/hns: Fix inconsistent warning (diff) | |
download | linux-dev-400d324a14acbe9a6189d0336fdb22f69c2cfd9a.tar.xz linux-dev-400d324a14acbe9a6189d0336fdb22f69c2cfd9a.zip |
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>
-rw-r--r-- | drivers/infiniband/hw/hns/hns_roce_device.h | 2 |
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, }; |