From mboxrd@z Thu Jan 1 00:00:00 1970 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 7B1B53777 for ; Tue, 10 Jan 2017 00:30:35 +0100 (CET) Received: by mail-pf0-f181.google.com with SMTP id 127so35401897pfg.1 for ; Mon, 09 Jan 2017 15:30:35 -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=sPWao8ppWRC1GYDiDuN8eNlxQTu2/c/j31e3qt8IF7E=; b=1QR8yK124lxQzQ+eyVxrTzkDQvjVcDt6M21zJtqN8S/8W54GdB4FrgIsr86bWsGwYY iogY2W59GiMOqPH+02MAHUmsgiEPEij2PCwVbBtTwbjryxKEMUcJgjde06ZWhr10mLY+ ODYLt/wCLQzY9SDx3yVy8G6NlMV0QUBasR9qJAHwmmzuu4JIB7kW5Q07s53NSBRsg4r0 ucYXt0MXqsyInshD9NeR3rF368efy3i7+qeRdf382dgMZRYCqLzMCyvs+xbHY+FLY1/P 5QvG1HRq+pumf8doLTrTRY8EagJRMR/imbJXWQEVdfP1Gh7gBeWjhhJxWB60PQArXg/A 0cDA== 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=sPWao8ppWRC1GYDiDuN8eNlxQTu2/c/j31e3qt8IF7E=; b=ZfHODecZ972btzOyF444lGSFb+vIGP6LtzmSJGgkRxhXMdsFxiJUKUoYKCvVlML4Xh 4lczonUBaX1fN/QoAi/i9UUUBcPBITgsmM3H6qev7hWbRFIBUDso0aCZQO4Aq9eYvokt hFNvbnt0DzgL+2E1yKN3aMDlmhvimInC8p6telNGg/L5ndwqlJKXORi5jyKRhINZIT1Q A8v8uJD2wl0SvlK0oOo2VGj2cBA0sWMDriY0JhiS8NrHpuc2AphE2l92wGC1ziyVqfdW sU+DQOnHrwsXkYV1+uaJXihgFoJgqoksLjObHkMZB8gUP0qSBCATwOfjmr7vLncbeZeo z4xw== X-Gm-Message-State: AIkVDXKk3EmUDq3VZNx6V/13noemNxTuyI0vRuQZlpetFyO5kzhuarafnqmiT3Ma4XnNEg== X-Received: by 10.98.194.130 with SMTP id w2mr216532pfk.143.1484004634564; Mon, 09 Jan 2017 15:30:34 -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.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Jan 2017 15:30:33 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 9 Jan 2017 15:30:20 -0800 Message-Id: <20170109233022.31154-6-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 5/7] i40e: remove useless return 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:35 -0000 No need for return at end of void function. Signed-off-by: Stephen Hemminger --- drivers/net/i40e/i40e_ethdev_vf.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/net/i40e/i40e_ethdev_vf.c b/drivers/net/i40e/i40e_ethdev_vf.c index 0dc0af52..482b339c 100644 --- a/drivers/net/i40e/i40e_ethdev_vf.c +++ b/drivers/net/i40e/i40e_ethdev_vf.c @@ -882,8 +882,6 @@ i40evf_add_mac_addr(struct rte_eth_dev *dev, if (err) PMD_DRV_LOG(ERR, "fail to execute command " "OP_ADD_ETHER_ADDRESS"); - - return; } static void @@ -923,7 +921,6 @@ i40evf_del_mac_addr(struct rte_eth_dev *dev, uint32_t index) if (err) PMD_DRV_LOG(ERR, "fail to execute command " "OP_DEL_ETHER_ADDRESS"); - return; } static int -- 2.11.0