From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: [PATCH v2 0/7] minor cleanup Date: Mon, 9 Jan 2017 15:30:15 -0800 Message-ID: <20170109233022.31154-1-stephen@networkplumber.org> Cc: Stephen Hemminger To: dev@dpdk.org Return-path: Received: from mail-pf0-f181.google.com (mail-pf0-f181.google.com [209.85.192.181]) by dpdk.org (Postfix) with ESMTP id C6038326C for ; Tue, 10 Jan 2017 00:30:30 +0100 (CET) Received: by mail-pf0-f181.google.com with SMTP id y143so14409568pfb.0 for ; Mon, 09 Jan 2017 15:30:30 -0800 (PST) List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Mostly things found while inspecting other code. Stephen Hemminger (7): bonding,malloc,bitmap: remove useless return ethdev: reduce goto's in attach/detach bnx2x: remove useless return's kni: remove useless return statements i40e: remove useless return ixgbe: remove useless return igb: remove useless return's drivers/net/bnx2x/bnx2x.c | 2 - drivers/net/bnx2x/bnx2x_ethdev.c | 2 - drivers/net/bnx2x/elink.c | 1 - drivers/net/bonding/rte_eth_bond_pmd.c | 2 +- drivers/net/e1000/igb_pf.c | 2 - drivers/net/i40e/i40e_ethdev_vf.c | 3 -- drivers/net/ixgbe/ixgbe_82599_bypass.c | 10 ++--- lib/librte_eal/common/rte_malloc.c | 1 - .../linuxapp/kni/ethtool/igb/e1000_82575.c | 4 -- .../linuxapp/kni/ethtool/igb/e1000_i210.c | 2 - .../linuxapp/kni/ethtool/igb/e1000_mac.c | 4 -- .../linuxapp/kni/ethtool/igb/e1000_phy.c | 1 - .../linuxapp/kni/ethtool/igb/igb_ethtool.c | 3 +- lib/librte_eal/linuxapp/kni/ethtool/igb/igb_main.c | 2 - lib/librte_eal/linuxapp/kni/ethtool/igb/igb_vmdq.c | 11 +---- .../linuxapp/kni/ethtool/ixgbe/ixgbe_82598.c | 2 - lib/librte_ether/rte_ethdev.c | 52 +++++++++------------- lib/librte_sched/rte_bitmap.h | 2 - 18 files changed, 29 insertions(+), 77 deletions(-) -- 2.11.0