From patchwork Sun Feb 23 01:43:47 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 25141 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f70.google.com (mail-oa0-f70.google.com [209.85.219.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7C34A2066E for ; Sun, 23 Feb 2014 01:43:55 +0000 (UTC) Received: by mail-oa0-f70.google.com with SMTP id n16sf4293217oag.5 for ; Sat, 22 Feb 2014 17:43:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:to:subject:date:message-id :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe:content-type; bh=gzv2zt+VrLYzJXC9Ahw1e4I3FIoMAolFOWBuq1w39jA=; b=YqsGY5F0+cpRNWgONW/4JEVSq9Xu3QGwQdcBl9S2YXTTmb8nGYcFHT7J+y/9YplfF1 E1ryO+ThP6g/7QPp/3/PirPXanq+ECLew07nlaeGPAlkoAYhsFQcWk4+BJ7+Ok/QEWn5 FZQQL5ND7jqILz8wry2CVEKdxZbwXQJcldg9zay15BP5LWUw0IrtZ+ZEdhQKFXjO59IH tHhB6d8EeRzt+EfLgob3nuTCHdQNYwaHLRX70gCDFqVTjl7AKY7VebzGruYrOsOta9wB 2hsFyVfcykCq7c+ndy1Sl/cZbxMoEX6OgRHua2CuZVGwuK1OxQETxuQF3CV5X8jFdlH/ CIVA== X-Gm-Message-State: ALoCoQl0qVE8PoRmYJbELzVzaOg0/rxpGrtxufDbVVuPT8TjoUDQAgNlsRbT1QTcohf92WOA1xIV X-Received: by 10.182.34.169 with SMTP id a9mr5532640obj.49.1393119834951; Sat, 22 Feb 2014 17:43:54 -0800 (PST) MIME-Version: 1.0 X-BeenThere: lng-odp@linaro.org Received: by 10.140.49.113 with SMTP id p104ls1522460qga.41.gmail; Sat, 22 Feb 2014 17:43:54 -0800 (PST) X-Received: by 10.140.97.73 with SMTP id l67mr19679890qge.56.1393119834736; Sat, 22 Feb 2014 17:43:54 -0800 (PST) Received: from mail-qc0-f169.google.com (mail-qc0-f169.google.com [209.85.216.169]) by mx.google.com with ESMTPS id gd5si6508369qab.180.2014.02.22.17.43.54 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 22 Feb 2014 17:43:54 -0800 (PST) Received-SPF: neutral (google.com: 209.85.216.169 is neither permitted nor denied by best guess record for domain of mike.holmes@linaro.org) client-ip=209.85.216.169; Received: by mail-qc0-f169.google.com with SMTP id e9so5627494qcy.0 for ; Sat, 22 Feb 2014 17:43:54 -0800 (PST) X-Received: by 10.140.83.203 with SMTP id j69mr19536612qgd.42.1393119834618; Sat, 22 Feb 2014 17:43:54 -0800 (PST) Received: from fedora1.holmesfamily.ws (c-98-221-136-245.hsd1.nj.comcast.net. [98.221.136.245]) by mx.google.com with ESMTPSA id y71sm19150670qgd.3.2014.02.22.17.43.53 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 22 Feb 2014 17:43:54 -0800 (PST) From: Mike Holmes To: lng-odp@linaro.org Subject: [lng-odp] [PATCH] Test: remove unreachable code Date: Sat, 22 Feb 2014 20:43:47 -0500 Message-Id: <1393119827-35224-1-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 1.8.3.2 X-Original-Sender: mike.holmes@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.216.169 is neither permitted nor denied by best guess record for domain of mike.holmes@linaro.org) smtp.mail=mike.holmes@linaro.org Precedence: list Mailing-list: list lng-odp@linaro.org; contact lng-odp+owners@linaro.org List-ID: X-Google-Group-Id: 474323889996 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Signed-off-by: Mike Holmes --- test/packet/odp_example_pktio.c | 4 ++-- test/packet_netmap/odp_example_pktio_netmap.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/packet/odp_example_pktio.c b/test/packet/odp_example_pktio.c index 15e00ce..875830e 100644 --- a/test/packet/odp_example_pktio.c +++ b/test/packet/odp_example_pktio.c @@ -186,7 +186,7 @@ static void *pktio_queue_thread(void *arg) } } - return arg; +/* unreachable */ } /** @@ -260,7 +260,7 @@ static void *pktio_ifburst_thread(void *arg) } } - return arg; +/* unreachable */ } /** diff --git a/test/packet_netmap/odp_example_pktio_netmap.c b/test/packet_netmap/odp_example_pktio_netmap.c index bdfc5cd..2d74f8a 100644 --- a/test/packet_netmap/odp_example_pktio_netmap.c +++ b/test/packet_netmap/odp_example_pktio_netmap.c @@ -183,7 +183,7 @@ static void *pktio_queue_thread(void *arg) } } - return arg; +/* unreachable */ } /**