From patchwork Thu May 12 18:56:19 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 67696 Delivered-To: patch@linaro.org Received: by 10.140.92.199 with SMTP id b65csp914373qge; Thu, 12 May 2016 12:10:48 -0700 (PDT) X-Received: by 10.55.64.77 with SMTP id n74mr12096985qka.208.1463080248467; Thu, 12 May 2016 12:10:48 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id 190si9459361qhi.30.2016.05.12.12.10.47; Thu, 12 May 2016 12:10:48 -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; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id C01CE61658; Thu, 12 May 2016 19:10:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id DEF256164F; Thu, 12 May 2016 19:07:17 +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 5EA4D6164E; Thu, 12 May 2016 19:06:31 +0000 (UTC) Received: from mail-lb0-f169.google.com (mail-lb0-f169.google.com [209.85.217.169]) by lists.linaro.org (Postfix) with ESMTPS id 0DB3C6164A for ; Thu, 12 May 2016 18:56:31 +0000 (UTC) Received: by mail-lb0-f169.google.com with SMTP id n11so15409541lbh.1 for ; Thu, 12 May 2016 11:56:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=MaWxCTZy0emoKWNkXo67b8S5NmlkH2e1Mb4AO7LepFw=; b=cqFuijvKL+wWNC45pbWpkeeX4RB57K1g/B7jsmSyTgi2BQMulzQw5rH4zmbG1QA7ph 6+5jIMD8ePOwsK235/+PprGcMBVSn2mqDMpbac8aPMr4GEdXfkSPLRB8dfA6gCSIPjpl RxSZwelxL7AZUzFgy7DQeuxfYN31/xo8afpCh6CB1FkwUKezpNQuB0VmuvnH2YjFbayD zpcRvVVINYCHE0+4uwk17EmjUQVi2fiI4GcpbuD3GJ2eL79svKHbUSfq9nGxZ2j2Ns5V Iu2PQwpJrMkb3XhDTr0uNElQxhiT6t4ccPHL19BIjNKjVRC2xv1XZoYQ4LlkGuybz27h gj3A== X-Gm-Message-State: AOPr4FW3CDkF3ZJ18ifPvNmUKuCMAHMDSd+X9kZjwnTeGS1nXKBx/LdegUOvScdQ+OVhcHnHhLw= X-Received: by 10.112.169.65 with SMTP id ac1mr4943157lbc.92.1463079389970; Thu, 12 May 2016 11:56:29 -0700 (PDT) Received: from localhost.localdomain (ppp91-77-173-31.pppoe.mtu-net.ru. [91.77.173.31]) by smtp.gmail.com with ESMTPSA id z21sm2337560lff.0.2016.05.12.11.56.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 12 May 2016 11:56:29 -0700 (PDT) From: Maxim Uvarov To: lng-odp@lists.linaro.org Date: Thu, 12 May 2016 21:56:19 +0300 Message-Id: <1463079379-25314-1-git-send-email-maxim.uvarov@linaro.org> X-Mailer: git-send-email 2.7.1.250.gff4ea60 X-Topics: patch Subject: [lng-odp] [PATCH] linux-generic: pktio: ipc: remove not needed assignment X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" 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" Not used assigned, should just removed. https://bugs.linaro.org/show_bug.cgi?id=2221 Signed-off-by: Maxim Uvarov Reviewed-by: Bill Fischofer --- platform/linux-generic/pktio/ipc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/platform/linux-generic/pktio/ipc.c b/platform/linux-generic/pktio/ipc.c index b16c611..12cc286 100644 --- a/platform/linux-generic/pktio/ipc.c +++ b/platform/linux-generic/pktio/ipc.c @@ -627,8 +627,6 @@ static int ipc_pktio_send(pktio_entry_t *pktio_entry, pkt_table_mapped[i] = pkt; } - rbuf_p = (void *)&pkt; - /* buf_hdr.addr can not be used directly in remote process, * convert it to offset */