From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by dpdk.org (Postfix) with ESMTP id ACCBB1B854 for ; Tue, 15 May 2018 15:48:28 +0200 (CEST) Received: by mail-wm0-f68.google.com with SMTP id a8-v6so1142487wmg.5 for ; Tue, 15 May 2018 06:48:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=xAipwHhG4SrkB6pcpyDyr3GKhErJsg1Pyk5LlEMWwW8=; b=PcEP2JEDJnEXEwoozDTSCPeURUrrLPKZJgYC1ARwRF8X86C3pSV0nIT3J22SJ9kwF3 WfnROVxb8sTaLCZvsGVg6ASH8qnEDCOpZxE6KqnvTK17I6NDoQYWE4s6FbTeTVIXMpWq E082ikzZAet9QlEGrWhoR/t/7y4MoLoaBq5mPj+A4KoELw1gIXoPbohw3og85GtFSrvd 56LbMLRlrcwxGYpfXrvBhwslWng7Nr6BPoDvWTogPAGOMzkkvHoWaCJ2f+wY3y6VFVVB jXlMCrOcrm1mTM/OjPBUczOUEWZwVfgctwPqzE0MCTXy+ELSHD4TvmDXRpEtS0X3zHcE AU0w== 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=xAipwHhG4SrkB6pcpyDyr3GKhErJsg1Pyk5LlEMWwW8=; b=SLazzEEyPRl1k9YPO1s+31BUpNX72LIwCAgaDvhHKi/WJQhsrL/UeI75imvGypIExC 65764UXz1Yi6bOxj+fHxA3b3NFeXtbDEVJy95BXbEKDx+iPSyQ6zaDU7zJh8IuEcaIGJ wMW7proPTW5NzMiAqCg5rtffZiWQu8q1bN/j953h8x9MzkmecyzobbAzLLLnIidBrlMm smebIPk5c7nNi1hZLgrU9xA0HMzUbXZMOTsOobUS9t0xMZJlM3hNNSZeePNQ1Sj9scq+ /hmtZzPWGxlLJk3S5pYu/MnO7hCQutgH0yXV+Orvz0/bP6Bp2l35ei30OWvOmaC7dBS/ AqLA== X-Gm-Message-State: ALKqPwegKuYzITL85CY409Y4K/1TSpzaAJo4S3O5ObPhyUFY4KRm+zyt Nzg38rxhs4rQ2A+B9NPE6MY= X-Google-Smtp-Source: AB8JxZozSuftgwi/USCkdwohEC0+Ci7FZ0fzuNwqB2IiITjEZoyugJZCshSviS8Dmv9LpXhckR33UA== X-Received: by 2002:a1c:a95:: with SMTP id 143-v6mr7864620wmk.134.1526392108417; Tue, 15 May 2018 06:48:28 -0700 (PDT) Received: from localhost (slip139-92-244-193.lon.uk.prserv.net. [139.92.244.193]) by smtp.gmail.com with ESMTPSA id w31-v6sm101136wrb.93.2018.05.15.06.48.26 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 15 May 2018 06:48:27 -0700 (PDT) From: luca.boccassi@gmail.com To: Shreyansh Jain Cc: dpdk stable Date: Tue, 15 May 2018 14:46:38 +0100 Message-Id: <20180515134731.9337-27-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180515134731.9337-1-luca.boccassi@gmail.com> References: <20180503110612.12146-2-luca.boccassi@gmail.com> <20180515134731.9337-1-luca.boccassi@gmail.com> Subject: [dpdk-stable] patch 'rawdev: remove dead code' has been queued to stable release 18.02.2 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 May 2018 13:48:28 -0000 Hi, FYI, your patch has been queued to stable release 18.02.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/16/18. So please shout if anyone has objections. Thanks. Luca Boccassi --- >>From 3a5d4f91db651aa26ade933aca068c850643a216 Mon Sep 17 00:00:00 2001 From: Shreyansh Jain Date: Wed, 9 May 2018 20:56:10 +0530 Subject: [PATCH] rawdev: remove dead code [ upstream commit 7d3c4fb6de3a21e2a393bf6a1d4b4d11fd65d97b ] Coverity issue: 260406 Fixes: c88b3f2558ed ("rawdev: introduce raw device library") Signed-off-by: Shreyansh Jain --- lib/librte_rawdev/rte_rawdev.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/librte_rawdev/rte_rawdev.c b/lib/librte_rawdev/rte_rawdev.c index d314ef96b..284e6aec8 100644 --- a/lib/librte_rawdev/rte_rawdev.c +++ b/lib/librte_rawdev/rte_rawdev.c @@ -88,9 +88,6 @@ rte_rawdev_info_get(uint16_t dev_id, struct rte_rawdev_info *dev_info) RTE_RAWDEV_VALID_DEVID_OR_ERR_RET(dev_id, -EINVAL); RTE_FUNC_PTR_OR_ERR_RET(dev_info, -EINVAL); - if (dev_info == NULL) - return -EINVAL; - rawdev = &rte_rawdevs[dev_id]; RTE_FUNC_PTR_OR_ERR_RET(*rawdev->dev_ops->dev_info_get, -ENOTSUP); -- 2.14.2