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 936EBF961 for ; Fri, 20 Jan 2017 01:19:57 +0100 (CET) Received: by mail-wm0-f68.google.com with SMTP id c85so2841168wmi.1 for ; Thu, 19 Jan 2017 16:19:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=soATFRwjKz+sXx1Lm3W1jlSGie4mjG3+S8wxRMN4MjY=; b=OT5SbZnyH1WrRDKVaOsVdPjd/m9cJ3yYuDdisOve7xrc0uQyFX0QGuhvN9lNIqh4/5 6o55KlDkAuEPL/P0zx3t1W4VE5tiLmbjkDE2SDwGU0B5lgRELmGzfRAGimZIHPT46gRh xJW1nQBZTj7IxCRCYgJ5fNkM5uCLm0fREswmKXZmA5ovYuJ3IW9qrTIikVOSEElaoBCi iKm+BqKyXmoNaJZr+IYgPzWgIhemDt+m7OJU1EygP9j9iyhfgIY96aZ+w0CNFzOUkpuV eZAR0/kS+pOE3xZXUiPsNv8s4tCdhJEfR3t20Wzjdj45ea0NsfyV7WhuuC1ZCsHPbSiC 31Qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=soATFRwjKz+sXx1Lm3W1jlSGie4mjG3+S8wxRMN4MjY=; b=e0QPsxRYkzR2fVO2LFsW9k9pEWv/k38mzy45OfD/hVOR5Uxpd6RmCHQfQpxZUw09aZ BcbG7kLgFBjNLckDv/KyT/WPBEtKpl82VVLhgR2og8r2US5hBUmKaoCvRUkIUEvvADQ4 /vYFnZ/GuLYFxcIx8fAkxwyS4+ELZdjdz0ryNchZUmMt/+/2+xIwf3m/uVWv9j7baSqp 5cY2Od00mgIl2peinSgh95Dx5WCaWRkc/CjyNHjtQGwNbjXNZCoGTK8JeC2RDWUHlROi 6yMkd5QBG0iwgvCww+t2Qb347P2RF4o8M77YlsvLH7t9NDZSxycj24L55z6zaPB9JHIf Arug== X-Gm-Message-State: AIkVDXL84/EeqHyX+MF9p9WHG1UV7fPFAEo7ze0f2gWbihUqOOFFCI+7Q8yB9RnpvPHDeA== X-Received: by 10.28.153.139 with SMTP id b133mr1041250wme.93.1484871597394; Thu, 19 Jan 2017 16:19:57 -0800 (PST) Received: from [192.168.0.101] ([94.204.18.159]) by smtp.gmail.com with ESMTPSA id g75sm1851655wme.5.2017.01.19.16.19.56 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Jan 2017 16:19:56 -0800 (PST) From: Ilya Matveychikov Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\)) Message-Id: <7181C1FE-0FB9-4FB8-9A12-08AB4506880E@gmail.com> Date: Fri, 20 Jan 2017 04:19:23 +0400 To: dev@dpdk.org X-Mailer: Apple Mail (2.3259) Subject: [dpdk-dev] [PATCH] mbuf: remove redundant line in rte_pktmbuf_attach 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: Fri, 20 Jan 2017 00:19:58 -0000 mi->next will be assigned to NULL few lines later, trivial patch Signed-off-by: Ilya V. Matveychikov --- lib/librte_mbuf/rte_mbuf.h | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h index ead7c6e..5589d54 100644 --- a/lib/librte_mbuf/rte_mbuf.h +++ b/lib/librte_mbuf/rte_mbuf.h @@ -1139,7 +1139,6 @@ static inline void rte_pktmbuf_attach(struct = rte_mbuf *mi, struct rte_mbuf *m) mi->buf_addr =3D m->buf_addr; mi->buf_len =3D m->buf_len; =20 - mi->next =3D m->next; mi->data_off =3D m->data_off; mi->data_len =3D m->data_len; mi->port =3D m->port; --=20 2.7.4=