From patchwork Thu Aug 13 19:04:40 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 52408 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by patches.linaro.org (Postfix) with ESMTPS id 1DD6D2031F for ; Thu, 13 Aug 2015 19:04:59 +0000 (UTC) Received: by lbck9 with SMTP id k9sf19433719lbc.0 for ; Thu, 13 Aug 2015 12:04:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:delivered-to:from:to:date :message-id:cc:subject:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version :content-type:content-transfer-encoding:errors-to:sender :x-original-sender:x-original-authentication-results:mailing-list; bh=m4AazH7ICLIJvm0ghmuf0tPNxvUA37RSa70gKCfLuSo=; b=jHk0tdyYzpeLkX1YImJec60k568cMZRYEQKuc17VsP985XBaARvyVO0LwqcVv1rXbO BSNnpSXUTNHrdS7RhBjRKuLj6X+B1g0oS6datb3oFzhwG9lHrE/LPoTdjW4SVax+zDg3 7frBsX/Rcb1sjbCgEro1cx346rjLVFMeVE/O6YthEmOso/soiCUs3hAJPdlh04rtJJsp bttCV4tTg1U0O2QbT92NnYDR6nmfihEdfz2EZlX7ngE6SZNwEC5Ah0PzJq65fetAmrZN 9Wk728xi1NA6g1yzpqcxyKgguxC5Pw45hbl6T79IIioZk20zLWDo7G6lW3XdVS2zXLSB WY/A== X-Gm-Message-State: ALoCoQkSwj9vjsBG6iDipcm+Fu1n6OBgOIqRZdeHiMmCL05/HMocb0ZHWzP6WbP/pEhg8At53CPC X-Received: by 10.152.182.226 with SMTP id eh2mr11611712lac.0.1439492698022; Thu, 13 Aug 2015 12:04:58 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.219.34 with SMTP id pl2ls227948lac.84.gmail; Thu, 13 Aug 2015 12:04:57 -0700 (PDT) X-Received: by 10.112.210.137 with SMTP id mu9mr37036039lbc.95.1439492697836; Thu, 13 Aug 2015 12:04:57 -0700 (PDT) Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com. [209.85.217.181]) by mx.google.com with ESMTPS id lf12si3593362lac.122.2015.08.13.12.04.57 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Aug 2015 12:04:57 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.181 as permitted sender) client-ip=209.85.217.181; Received: by lbcbn3 with SMTP id bn3so32445863lbc.2 for ; Thu, 13 Aug 2015 12:04:57 -0700 (PDT) X-Received: by 10.112.209.106 with SMTP id ml10mr37827273lbc.112.1439492697668; Thu, 13 Aug 2015 12:04:57 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.7.198 with SMTP id l6csp1126924lba; Thu, 13 Aug 2015 12:04:56 -0700 (PDT) X-Received: by 10.140.33.78 with SMTP id i72mr9699531qgi.81.1439492696445; Thu, 13 Aug 2015 12:04:56 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id 66si5278495qkp.124.2015.08.13.12.04.55; Thu, 13 Aug 2015 12:04:56 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Received: by lists.linaro.org (Postfix, from userid 109) id 306ED6222E; Thu, 13 Aug 2015 19:04:55 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from ip-10-142-244-252.ec2.internal (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id E1CA76222A; Thu, 13 Aug 2015 19:04:51 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 784016222A; Thu, 13 Aug 2015 19:04:50 +0000 (UTC) Received: from mail-qg0-f44.google.com (mail-qg0-f44.google.com [209.85.192.44]) by lists.linaro.org (Postfix) with ESMTPS id B654B62224 for ; Thu, 13 Aug 2015 19:04:49 +0000 (UTC) Received: by qgdd90 with SMTP id d90so37593798qgd.3 for ; Thu, 13 Aug 2015 12:04:49 -0700 (PDT) X-Received: by 10.140.22.135 with SMTP id 7mr71160887qgn.98.1439492689366; Thu, 13 Aug 2015 12:04:49 -0700 (PDT) Received: from localhost.localdomain (c-98-221-136-245.hsd1.nj.comcast.net. [98.221.136.245]) by smtp.gmail.com with ESMTPSA id m62sm1592142qhb.45.2015.08.13.12.04.48 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 13 Aug 2015 12:04:48 -0700 (PDT) From: Mike Holmes To: bala.manoharan@linaro.org Date: Thu, 13 Aug 2015 15:04:40 -0400 Message-Id: <1439492682-9226-1-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 2.1.4 X-Topics: patch Cc: lng-odp@lists.linaro.org Subject: [lng-odp] [PATCH 1/3] test: validation: mask_common: remove unused variable X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: mike.holmes@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.181 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 str_sz is not used, remove it Signed-off-by: Mike Holmes Reviewed-by: Bill Fischofer --- test/validation/common/mask_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/validation/common/mask_common.c b/test/validation/common/mask_common.c index fce7725..119c2bb 100644 --- a/test/validation/common/mask_common.c +++ b/test/validation/common/mask_common.c @@ -143,7 +143,7 @@ MASK_TESTFUNC(to_from_str) /* check for handling of missing "0x" prefix: */ _odp_mask_from_str(&mask, TEST_MASK_0_NO_PREFIX); - str_sz = _odp_mask_to_str(&mask, buf_out, + _odp_mask_to_str(&mask, buf_out, stringlen(TEST_MASK_0) + 1); CU_ASSERT_NSTRING_EQUAL(buf_out, TEST_MASK_0,