mbox series

[V2,net-next,0/9] net: hns3: a few code improvements

Message ID 1530517826-69226-1-git-send-email-lipeng321@huawei.com
Headers show
Series net: hns3: a few code improvements | expand

Message

lipeng (Y) July 2, 2018, 7:50 a.m. UTC
This patchset removes some redundant code and fixes a few code
stylistic issues from internal concentrated review,
no functional changes introduced.

---
Change log:
V1 -> V2:
1, remove a patch according to the comment reported by David Miller.
---

Huazhong Tan (8):
  net: hns3: remove unused hclge_ring_to_dma_dir
  net: hns3: remove useless code in hclge_cmd_send
  net: hns3: remove some redundant assignments
  net: hns3: simplify hclge_cmd_csq_clean
  net: hns3: remove a redundant hclge_cmd_csq_done
  net: hns3: remove some unused members of some structures
  net: hns3: give default option while dependency HNS3 set
  net: hns3: use dma_zalloc_coherent instead of kzalloc/dma_map_single

Peng Li (1):
  net: hns3: modify hnae_ to hnae3_

 drivers/net/ethernet/hisilicon/Kconfig             |  15 +-
 drivers/net/ethernet/hisilicon/hns3/hnae3.c        |  28 +-
 drivers/net/ethernet/hisilicon/hns3/hnae3.h        |  18 +-
 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c    | 244 ++++++++--------
 drivers/net/ethernet/hisilicon/hns3/hns3_enet.h    |   9 +-
 .../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c |  69 ++---
 .../ethernet/hisilicon/hns3/hns3pf/hclge_main.c    | 317 ++++++++++-----------
 .../net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c |  24 +-
 .../ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c    |  38 +--
 .../net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c  |   8 +-
 .../net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.h  |   7 +-
 .../ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c   |  26 +-
 .../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c  |  25 +-
 .../ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c   |   2 +-
 14 files changed, 395 insertions(+), 435 deletions(-)

Comments

David Miller July 2, 2018, 1:50 p.m. UTC | #1
From: Peng Li <lipeng321@huawei.com>
Date: Mon, 2 Jul 2018 15:50:17 +0800

> This patchset removes some redundant code and fixes a few code
> stylistic issues from internal concentrated review,
> no functional changes introduced.
> 
> ---
> Change log:
> V1 -> V2:
> 1, remove a patch according to the comment reported by David Miller.

Series applied, thank you.