From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0DB25C43141 for ; Fri, 29 Jun 2018 10:57:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B2A6327D80 for ; Fri, 29 Jun 2018 10:57:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B2A6327D80 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=huawei.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935561AbeF2K5U (ORCPT ); Fri, 29 Jun 2018 06:57:20 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:59904 "EHLO huawei.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1753218AbeF2Kyk (ORCPT ); Fri, 29 Jun 2018 06:54:40 -0400 Received: from DGGEMS412-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 02B2D750EC212; Fri, 29 Jun 2018 18:54:34 +0800 (CST) Received: from linux-ioko.site (10.71.200.31) by DGGEMS412-HUB.china.huawei.com (10.3.19.212) with Microsoft SMTP Server id 14.3.382.0; Fri, 29 Jun 2018 18:51:22 +0800 From: Peng Li To: CC: , , , , , Subject: [PATCH net-next 00/10] net: hns3: a few code improvements Date: Fri, 29 Jun 2018 19:22:55 +0800 Message-ID: <1530271385-49668-1-git-send-email-lipeng321@huawei.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.71.200.31] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset removes some redundant code and fixes a few code stylistic issues from internal concentrated review, no functional changes introduced. Huazhong Tan (9): 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: using modulo for cyclic counters in hclge_cmd_send 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 | 75 ++--- .../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, 397 insertions(+), 439 deletions(-) -- 1.9.1