From: Wei Hu(Xavier) Date: Wed, 20 Sep 2017 03:45:26 +0000 (+0800) Subject: RDMA/hns: Delete the unnecessary initializing enum to zero X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=400d324a14acbe9a6189d0336fdb22f69c2cfd9a;p=openwrt%2Fstaging%2Fblogic.git RDMA/hns: Delete the unnecessary initializing enum to zero It deletes the unnecessary initializing enum to zero. Signed-off-by: Wei Hu (Xavier) Signed-off-by: Shaobo Xu Signed-off-by: Lijun Ou Reviewed-by: Leon Romanovsky Signed-off-by: Doug Ledford --- 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, };