public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH for-next] RDMA/hns: Delete the unnecessary initializing enum to zero
@ 2017-09-15  2:49 Wei Hu (Xavier)
  2017-09-15  6:36 ` Leon Romanovsky
  2017-09-27 12:42 ` Doug Ledford
  0 siblings, 2 replies; 3+ messages in thread
From: Wei Hu (Xavier) @ 2017-09-15  2:49 UTC (permalink / raw)
  To: dledford
  Cc: linux-rdma, xavier.huwei, lijun_nudt, oulijun, charles.chenxin,
	liuyixian, xushaobo2, zhangxiping3, xavier_huwei, linuxarm,
	linux-kernel, leon

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>
---
This patch is based on the patchset as below:
[PATCH for-next 00/20] RDMA/hns: Add hip08 RoCE driver support,
the related link:
https://www.spinics.net/lists/linux-rdma/msg54098.html

This patch addresses the comment at Leon's suggestion.
https://www.spinics.net/lists/linux-rdma/msg54392.html
https://www.spinics.net/lists/linux-rdma/msg54400.html
---
 drivers/infiniband/hw/hns/hns_roce_device.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/infiniband/hw/hns/hns_roce_device.h b/drivers/infiniband/hw/hns/hns_roce_device.h
index b45dba5..4f43c91 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,
 };
 
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-09-27 12:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-15  2:49 [PATCH for-next] RDMA/hns: Delete the unnecessary initializing enum to zero Wei Hu (Xavier)
2017-09-15  6:36 ` Leon Romanovsky
2017-09-27 12:42 ` Doug Ledford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox