From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f169.google.com (mail-pf0-f169.google.com [209.85.192.169]) by dpdk.org (Postfix) with ESMTP id 873383277 for ; Tue, 10 Jan 2017 00:30:33 +0100 (CET) Received: by mail-pf0-f169.google.com with SMTP id 189so22866967pfu.3 for ; Mon, 09 Jan 2017 15:30:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=/S6zvTLlBoBwSFMI8KedN0hOUKHN4RDtFzzXaxxKA1I=; b=Po7itF5q2P3E3B+d8QsVSZla6o1/F1nHOltLXcljWqFxfI7ddrtpUZsJFUrIqCCRvz Q8+us9M0UrGOWTbNmuYuUT/nSQfQf92O8hcShST2PAAdzfcGnsX0uEp8O+mOH7erOCzA 5Hp6fTVzzJBJviYCJ5MMWtVU+hm3px3HzzEaldXRrfFuOUv7PyhxZBbFc1AkE1z7AePC 7zultPMYJbBll666Wa/Qa5VMbJLs6ayGylV8QDkXgclOJkSeh39xtc5GX6K15qzeSKfX Oev3e7ZtP1ek3Bk0Gv2bf5pJ9HatK87e6eJlakKfT+xvG7YF30Tdx6xTaXTDxv8cwi9n WhrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=/S6zvTLlBoBwSFMI8KedN0hOUKHN4RDtFzzXaxxKA1I=; b=Tmdn1jfLcztadhTOMqGR/UA/uCGtnWbKZEKth65MvFc8cO9gyixOMmN8E+waog+ZE6 LM90SJIKbnYTe/AvlMQduIFaZF69hwzG0aQnvuZK6W/gz3vs5l1gXuspJXpjRd3Hewax jOMM2ceLQ3lo6FMlMk7KKoPq8mZGh0wKMZ3EkTDyIFYG8SBfhPKUz5mnM5KL8rKTZda0 6ZUrNy3S8ZJ5CGGHaxdyoiP0o1s55D1yCmnOezyRLTeNHbReDLR1bC1mextqYI05F9xd m7TnJXG7kYtgw1841X1XZY8aXCvZOJ6uPl7YLh4fWyGvd1nOgF0a4cl+kGY/vybsGjbz YOoQ== X-Gm-Message-State: AIkVDXLwx4Dw/t4lZvT1R9qL1KT08XXZZNa0ZVMmiz/fgyrbPqCh9Xw/mg89OggrEOfl8g== X-Received: by 10.99.177.73 with SMTP id g9mr331955pgp.32.1484004632609; Mon, 09 Jan 2017 15:30:32 -0800 (PST) Received: from xeon-e3.wavecable.com (204-195-18-65.wavecable.com. [204.195.18.65]) by smtp.gmail.com with ESMTPSA id s78sm12658pfk.82.2017.01.09.15.30.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Jan 2017 15:30:32 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 9 Jan 2017 15:30:18 -0800 Message-Id: <20170109233022.31154-4-stephen@networkplumber.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170109233022.31154-1-stephen@networkplumber.org> References: <20170109233022.31154-1-stephen@networkplumber.org> Subject: [dpdk-dev] [PATCH 3/7] bnx2x: remove useless return's X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jan 2017 23:30:34 -0000 Don't need empty return; at end of void function. Signed-off-by: Stephen Hemminger --- drivers/net/bnx2x/bnx2x.c | 2 -- drivers/net/bnx2x/bnx2x_ethdev.c | 2 -- drivers/net/bnx2x/elink.c | 1 - 3 files changed, 5 deletions(-) diff --git a/drivers/net/bnx2x/bnx2x.c b/drivers/net/bnx2x/bnx2x.c index 28566302..38068f6b 100644 --- a/drivers/net/bnx2x/bnx2x.c +++ b/drivers/net/bnx2x/bnx2x.c @@ -1371,8 +1371,6 @@ static void bnx2x_drain_tx_queues(struct bnx2x_softc *sc) rmb(); } } - - return; } static int diff --git a/drivers/net/bnx2x/bnx2x_ethdev.c b/drivers/net/bnx2x/bnx2x_ethdev.c index 7140118f..1d38c4bf 100644 --- a/drivers/net/bnx2x/bnx2x_ethdev.c +++ b/drivers/net/bnx2x/bnx2x_ethdev.c @@ -225,8 +225,6 @@ bnx2x_dev_stop(struct rte_eth_dev *dev) PMD_DRV_LOG(DEBUG, "bnx2x_nic_unload failed (%d)", ret); return; } - - return; } static void diff --git a/drivers/net/bnx2x/elink.c b/drivers/net/bnx2x/elink.c index 53293962..287869d5 100644 --- a/drivers/net/bnx2x/elink.c +++ b/drivers/net/bnx2x/elink.c @@ -10362,7 +10362,6 @@ static void elink_5461x_set_link_led(struct elink_phy *phy, elink_cl22_write(sc, phy, MDIO_REG_GPHY_SHADOW, MDIO_REG_GPHY_SHADOW_WR_ENA | temp); - return; } static void elink_54618se_link_reset(struct elink_phy *phy, -- 2.11.0