RDMA/hns: Delete the unnecessary initializing enum to zero
authorWei Hu(Xavier) <xavier.huwei@huawei.com>
Wed, 20 Sep 2017 03:45:26 +0000 (11:45 +0800)
committerDoug Ledford <dledford@redhat.com>
Wed, 27 Sep 2017 12:37:46 +0000 (08:37 -0400)
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>
drivers/infiniband/hw/hns/hns_roce_device.h

index b45dba53e3b926ca21846c6171943ef267b1cd81..4f43c91db01aacf2bfe6394228c0ca9b32db4e5b 100644 (file)
@@ -171,7 +171,7 @@ enum {
 };
 
 enum hns_roce_mtt_type {
-       MTT_TYPE_WQE = 0,
+       MTT_TYPE_WQE,
        MTT_TYPE_CQE,
 };